Class GcpStackdriverPropertiesConfigAdapter
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter<T>
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryPropertiesConfigAdapter<T>
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryPropertiesConfigAdapter<org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties>
org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverPropertiesConfigAdapter
com.google.cloud.spring.autoconfigure.metrics.GcpStackdriverPropertiesConfigAdapter
- All Implemented Interfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig
,io.micrometer.core.instrument.push.PushRegistryConfig
,io.micrometer.core.instrument.step.StepRegistryConfig
,io.micrometer.stackdriver.StackdriverConfig
public class GcpStackdriverPropertiesConfigAdapter
extends org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverPropertiesConfigAdapter
- Since:
- 1.2.4
-
Constructor Summary
ConstructorDescriptionGcpStackdriverPropertiesConfigAdapter
(org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties properties) GcpStackdriverPropertiesConfigAdapter
(org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties properties, String projectId, com.google.api.gax.core.CredentialsProvider credentialsProvider) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.core.CredentialsProvider
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverPropertiesConfigAdapter
metricTypePrefix, prefix, resourceLabels, resourceType, useSemanticMetricTypes
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryPropertiesConfigAdapter
batchSize, enabled, get, 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
Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get, requireValid
Methods inherited from interface io.micrometer.core.instrument.push.PushRegistryConfig
batchSize, connectTimeout, enabled, numThreads, readTimeout, step
Methods inherited from interface io.micrometer.stackdriver.StackdriverConfig
validate
-
Constructor Details
-
GcpStackdriverPropertiesConfigAdapter
public GcpStackdriverPropertiesConfigAdapter(org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties properties) -
GcpStackdriverPropertiesConfigAdapter
public GcpStackdriverPropertiesConfigAdapter(org.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverProperties properties, String projectId, com.google.api.gax.core.CredentialsProvider credentialsProvider)
-
-
Method Details
-
projectId
- Specified by:
projectId
in interfaceio.micrometer.stackdriver.StackdriverConfig
- Overrides:
projectId
in classorg.springframework.boot.actuate.autoconfigure.metrics.export.stackdriver.StackdriverPropertiesConfigAdapter
-
credentials
public com.google.api.gax.core.CredentialsProvider credentials()
-