@Configuration(proxyBeanMethods=false) @AutoConfigureBefore(value=org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverMetricsExportAutoConfiguration.class) @ConditionalOnClass(value={io.micrometer.core.instrument.step.StepMeterRegistry.class,io.micrometer.stackdriver.StackdriverConfig.class}) @ConditionalOnBean(value=io.micrometer.core.instrument.Clock.class) @EnableConfigurationProperties(value={GcpMetricsProperties.class,org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties.class}) @ConditionalOnProperty(value="spring.cloud.gcp.metrics.enabled", matchIfMissing=true, havingValue="true") public class GcpStackdriverMetricsAutoConfiguration extends Object
Constructor and Description |
---|
GcpStackdriverMetricsAutoConfiguration(GcpMetricsProperties gcpMetricsProperties,
org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties stackdriverProperties,
GcpProjectIdProvider gcpProjectIdProvider,
com.google.api.gax.core.CredentialsProvider credentialsProvider) |
Modifier and Type | Method and Description |
---|---|
io.micrometer.stackdriver.StackdriverConfig |
stackdriverConfig() |
public GcpStackdriverMetricsAutoConfiguration(GcpMetricsProperties gcpMetricsProperties, org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties stackdriverProperties, GcpProjectIdProvider gcpProjectIdProvider, com.google.api.gax.core.CredentialsProvider credentialsProvider) throws IOException
IOException
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.