Class OpenTelemetrySdkAutoConfiguration


  • public final class OpenTelemetrySdkAutoConfiguration
    extends Object
    Auto-configuration for the OpenTelemetry SDK. As an alternative to programmatically configuring the SDK using OpenTelemetrySdk.builder(), this package can be used to automatically configure the SDK using environment properties specified by OpenTelemetry.
    • Method Detail

      • initialize

        public static io.opentelemetry.sdk.OpenTelemetrySdk initialize()
        Returns an OpenTelemetrySdk automatically initialized through recognized system properties and environment variables.