Package io.micronaut.function.aws
Interface DiagnosticInfoPopulator
- All Known Implementing Classes:
DefaultDiagnosticInfoPopulator
@DefaultImplementation(DefaultDiagnosticInfoPopulator.class)
public interface DiagnosticInfoPopulator
Populates Mapping Diagnostic Context with Lambda Context.
- Since:
- 3.2.0
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
populateMappingDiagnosticContextValues
(@NonNull com.amazonaws.services.lambda.runtime.Context context) Populate MDC with Lambda Context values.void
Populate MDC with XRay Trace ID if it is able to parse it.
-
Method Details
-
populateMappingDiagnosticContextValues
void populateMappingDiagnosticContextValues(@NonNull @NonNull com.amazonaws.services.lambda.runtime.Context context) Populate MDC with Lambda Context values.- Parameters:
context
- Lambda Context
-
populateMappingDiagnosticContextWithXrayTraceId
void populateMappingDiagnosticContextWithXrayTraceId()Populate MDC with XRay Trace ID if it is able to parse it.
-