Package io.quarkus.amazon.common.runtime
Interface AwsSdkTelemetryConfig.AwsSdkConfig
- Enclosing interface:
- AwsSdkTelemetryConfig
public static interface AwsSdkTelemetryConfig.AwsSdkConfig
-
Method Summary
Modifier and TypeMethodDescriptionSets whether errors returned by each individual HTTP request should be recorded as events for the SDK span.Sets whether experimental attributes should be set to spans.Sets whether the io.opentelemetry.context.propagation.TextMapPropagator configured in the provided OpenTelemetry should be used to inject into supported messaging attributes (currently only SQS; SNS may follow).
-
Method Details
-
experimentalSpanAttributes
Sets whether experimental attributes should be set to spans. These attributes may be changed or removed in the future, so only enable this if you know you do not require attributes filled by this instrumentation to be stable across versions. -
experimentalUsePropagatorForMessaging
Sets whether the io.opentelemetry.context.propagation.TextMapPropagator configured in the provided OpenTelemetry should be used to inject into supported messaging attributes (currently only SQS; SNS may follow). In addition, the X-Ray propagator is always used. Using the messaging propagator is needed if your tracing vendor requires special tracestate entries or legacy propagation information that cannot be transported via X-Ray headers. It may also be useful if you need to directly connect spans over messaging in your tracing backend, bypassing any intermediate spans/X-Ray segments that AWS may create in the delivery process. This option is off by default. If enabled, on extraction the configured propagator will be preferred over X-Ray if it can extract anything. -
experimentalRecordIndividualHttpError
Sets whether errors returned by each individual HTTP request should be recorded as events for the SDK span. This option is off by default. If enabled, the HTTP error code and the error message will be captured and associated with the span. This provides detailed insights into errors on a per-request basis.
-