Class OpenTelemetryResourceAutoConfiguration

java.lang.Object
io.opentelemetry.sdk.autoconfigure.OpenTelemetryResourceAutoConfiguration

@Deprecated public final class OpenTelemetryResourceAutoConfiguration extends Object
Auto-configuration for the OpenTelemetry Resource.
  • Method Details

    • configureResource

      @Deprecated public static io.opentelemetry.sdk.resources.Resource configureResource()
      Returns the automatically configured Resource.

      This method will auto-configure the returned Resource using system properties and environment variables.

    • configureResource

      @Deprecated public static io.opentelemetry.sdk.resources.Resource configureResource(io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
      Returns a Resource automatically initialized through recognized system properties and environment variables.