Class StackdriverMetricsExportAutoConfiguration
- java.lang.Object
-
- io.micrometer.spring.autoconfigure.export.stackdriver.StackdriverMetricsExportAutoConfiguration
-
@Configuration @ConditionalOnBean(io.micrometer.core.instrument.Clock.class) @ConditionalOnClass(io.micrometer.stackdriver.StackdriverMeterRegistry.class) @ConditionalOnProperty(prefix="management.metrics.export.stackdriver", name="enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(StackdriverProperties.class) @Import(StringToDurationConverter.class) public class StackdriverMetricsExportAutoConfiguration extends java.lang.Object
Configuration for exporting metrics to Stackdriver.- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description StackdriverMetricsExportAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.micrometer.stackdriver.StackdriverConfig
stackdriverConfig(StackdriverProperties props)
io.micrometer.stackdriver.StackdriverMeterRegistry
stackdriverMeterRegistry(io.micrometer.stackdriver.StackdriverConfig config, StackdriverProperties props, io.micrometer.core.instrument.Clock clock)
-
-
-
Method Detail
-
stackdriverConfig
@Bean @ConditionalOnMissingBean public io.micrometer.stackdriver.StackdriverConfig stackdriverConfig(StackdriverProperties props)
-
stackdriverMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.stackdriver.StackdriverMeterRegistry stackdriverMeterRegistry(io.micrometer.stackdriver.StackdriverConfig config, StackdriverProperties props, io.micrometer.core.instrument.Clock clock)
-
-