Class WavefrontPropertiesConfigAdapter

All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.core.instrument.push.PushRegistryConfig, io.micrometer.wavefront.WavefrontConfig

public class WavefrontPropertiesConfigAdapter extends PushRegistryPropertiesConfigAdapter<WavefrontProperties> implements io.micrometer.wavefront.WavefrontConfig
Adapter to convert WavefrontProperties to a WavefrontConfig.
Since:
2.0.0
Author:
Jon Schneider
  • Constructor Details

    • WavefrontPropertiesConfigAdapter

      public WavefrontPropertiesConfigAdapter(WavefrontProperties properties)
  • Method Details

    • prefix

      public String prefix()
      Specified by:
      prefix in interface io.micrometer.core.instrument.config.MeterRegistryConfig
      Specified by:
      prefix in interface io.micrometer.wavefront.WavefrontConfig
    • get

      public String get(String k)
      Specified by:
      get in interface io.micrometer.core.instrument.config.MeterRegistryConfig
      Overrides:
      get in class PushRegistryPropertiesConfigAdapter<WavefrontProperties>
    • uri

      public String uri()
      Specified by:
      uri in interface io.micrometer.wavefront.WavefrontConfig
    • source

      public String source()
      Specified by:
      source in interface io.micrometer.wavefront.WavefrontConfig
    • apiToken

      public String apiToken()
      Specified by:
      apiToken in interface io.micrometer.wavefront.WavefrontConfig
    • globalPrefix

      public String globalPrefix()
      Specified by:
      globalPrefix in interface io.micrometer.wavefront.WavefrontConfig