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.Metrics.Export> implements io.micrometer.wavefront.WavefrontConfig
Adapter to convert WavefrontProperties to a WavefrontConfig.
Since:
2.0.0
Author:
Jon Schneider, Moritz Halbritter
  • 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
    • 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
    • batchSize

      public int batchSize()
      Specified by:
      batchSize in interface io.micrometer.core.instrument.push.PushRegistryConfig
      Overrides:
      batchSize in class PushRegistryPropertiesConfigAdapter<WavefrontProperties.Metrics.Export>
    • 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
    • reportMinuteDistribution

      public boolean reportMinuteDistribution()
      Specified by:
      reportMinuteDistribution in interface io.micrometer.wavefront.WavefrontConfig
    • reportHourDistribution

      public boolean reportHourDistribution()
      Specified by:
      reportHourDistribution in interface io.micrometer.wavefront.WavefrontConfig
    • reportDayDistribution

      public boolean reportDayDistribution()
      Specified by:
      reportDayDistribution in interface io.micrometer.wavefront.WavefrontConfig
    • apiTokenType

      public com.wavefront.sdk.common.clients.service.token.TokenService.Type apiTokenType()
      Specified by:
      apiTokenType in interface io.micrometer.wavefront.WavefrontConfig