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

public class SpringConfigProperties extends Object implements io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
  • Constructor Details

    • SpringConfigProperties

      public SpringConfigProperties(org.springframework.core.env.Environment environment, org.springframework.expression.ExpressionParser parser, OtlpExporterProperties otlpExporterProperties, PropagationProperties propagationProperties)
  • Method Details

    • 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