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 Details

    • StackdriverMetricsExportAutoConfiguration

      public StackdriverMetricsExportAutoConfiguration(StackdriverProperties stackdriverProperties)
  • 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)