Class AwsSdkTelemetryBuilder
java.lang.Object
io.opentelemetry.instrumentation.awssdk.v2_2.AwsSdkTelemetryBuilder
A builder of
AwsSdkTelemetry.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns a newAwsSdkTelemetrywith the settings of thisAwsSdkTelemetryBuilder.setCaptureExperimentalSpanAttributes(boolean captureExperimentalSpanAttributes) Sets whether experimental attributes should be set to spans.
-
Method Details
-
setCaptureExperimentalSpanAttributes
@CanIgnoreReturnValue public AwsSdkTelemetryBuilder setCaptureExperimentalSpanAttributes(boolean captureExperimentalSpanAttributes) 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 -
build
Returns a newAwsSdkTelemetrywith the settings of thisAwsSdkTelemetryBuilder.
-