Class WavefrontPropertiesConfigAdapter
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter<T>
- org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryPropertiesConfigAdapter<WavefrontProperties>
- org.springframework.boot.actuate.autoconfigure.metrics.export.wavefront.WavefrontPropertiesConfigAdapter
- All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig
,io.micrometer.core.instrument.push.PushRegistryConfig
,io.micrometer.core.instrument.step.StepRegistryConfig
,io.micrometer.wavefront.WavefrontConfig
public class WavefrontPropertiesConfigAdapter extends StepRegistryPropertiesConfigAdapter<WavefrontProperties> implements io.micrometer.wavefront.WavefrontConfig
Adapter to convertWavefrontProperties
to aWavefrontConfig
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description WavefrontPropertiesConfigAdapter(WavefrontProperties properties)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
apiToken()
String
get(String k)
String
globalPrefix()
String
source()
String
uri()
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryPropertiesConfigAdapter
batchSize, enabled, numThreads, prefix, step
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter
get
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
WavefrontPropertiesConfigAdapter
public WavefrontPropertiesConfigAdapter(WavefrontProperties properties)
Method Detail
get
public String get(String k)
- Specified by:
get
in interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
- Overrides:
get
in classStepRegistryPropertiesConfigAdapter<WavefrontProperties>
source
public String source()
- Specified by:
source
in interfaceio.micrometer.wavefront.WavefrontConfig
apiToken
public String apiToken()
- Specified by:
apiToken
in interfaceio.micrometer.wavefront.WavefrontConfig
globalPrefix
public String globalPrefix()
- Specified by:
globalPrefix
in interfaceio.micrometer.wavefront.WavefrontConfig