Class ConfigPropertiesAdapter

  • All Implemented Interfaces:
    io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties

    public final class ConfigPropertiesAdapter
    extends Object
    implements io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
    • Constructor Detail

      • ConfigPropertiesAdapter

        public ConfigPropertiesAdapter​(io.opentelemetry.instrumentation.api.config.Config config)
    • Method Detail

      • 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
      • getDuration

        @Nullable
        public Duration getDuration​(String name)
        Specified by:
        getDuration 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
      • getMap

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