Class StackdriverMetricsExportAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverMetricsExportAutoConfiguration
@AutoConfiguration(before={CompositeMeterRegistryAutoConfiguration.class,SimpleMetricsExportAutoConfiguration.class},
after=MetricsAutoConfiguration.class)
@ConditionalOnBean(io.micrometer.core.instrument.Clock.class)
@ConditionalOnClass(io.micrometer.stackdriver.StackdriverMeterRegistry.class)
@ConditionalOnEnabledMetricsExport("stackdriver")
@EnableConfigurationProperties(StackdriverProperties.class)
public class StackdriverMetricsExportAutoConfiguration
extends Object
Auto-configuration
for exporting metrics to
Stackdriver.- Since:
- 2.3.0
- Author:
- Johannes Graf, Stephane Nicoll
-
Constructor Summary
ConstructorDescriptionStackdriverMetricsExportAutoConfiguration
(StackdriverProperties stackdriverProperties) -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.stackdriver.StackdriverConfig
io.micrometer.stackdriver.StackdriverMeterRegistry
stackdriverMeterRegistry
(io.micrometer.stackdriver.StackdriverConfig stackdriverConfig, io.micrometer.core.instrument.Clock clock)
-
Constructor Details
-
StackdriverMetricsExportAutoConfiguration
-
-
Method Details
-
stackdriverConfig
@Bean @ConditionalOnMissingBean public io.micrometer.stackdriver.StackdriverConfig stackdriverConfig() -
stackdriverMeterRegistry
@Bean @ConditionalOnMissingBean public io.micrometer.stackdriver.StackdriverMeterRegistry stackdriverMeterRegistry(io.micrometer.stackdriver.StackdriverConfig stackdriverConfig, io.micrometer.core.instrument.Clock clock)
-