Class AwsSdkTelemetryBuilder

java.lang.Object
io.opentelemetry.instrumentation.awssdk.v2_2.AwsSdkTelemetryBuilder

public final class AwsSdkTelemetryBuilder extends Object
A builder of AwsSdkTelemetry.
  • 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

      public AwsSdkTelemetry build()
      Returns a new AwsSdkTelemetry with the settings of this AwsSdkTelemetryBuilder.