java.lang.Object
io.opentelemetry.instrumentation.spring.autoconfigure.internal.properties.SpringConfigProperties
All Implemented Interfaces:
io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties

public class SpringConfigProperties extends Object implements io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
  • Constructor Details

    • SpringConfigProperties

      public SpringConfigProperties(org.springframework.core.env.Environment environment, org.springframework.expression.ExpressionParser parser, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties otelSdkProperties)
  • Method Details

    • create

      public static io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties create(org.springframework.core.env.Environment env, OtlpExporterProperties otlpExporterProperties, OtelResourceProperties resourceProperties, OtelSpringProperties otelSpringProperties, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties fallback)
    • getString

      @Nullable public String getString(String name)
      Specified by:
      getString in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getBoolean

      @Nullable public Boolean getBoolean(String name)
      Specified by:
      getBoolean in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getInt

      @Nullable public Integer getInt(String name)
      Specified by:
      getInt in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getLong

      @Nullable public Long getLong(String name)
      Specified by:
      getLong in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getDouble

      @Nullable public Double getDouble(String name)
      Specified by:
      getDouble in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getList

      public List<String> getList(String name)
      Specified by:
      getList in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getDuration

      @Nullable public Duration getDuration(String name)
      Specified by:
      getDuration in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • getMap

      public Map<String,String> getMap(String name)
      Specified by:
      getMap in interface io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties