@ConfigurationProperties(prefix="management.metrics.export.stackdriver") public class StackdriverProperties extends StepRegistryProperties
ConfigurationProperties for configuring metrics export to Stackdriver.| Constructor and Description |
|---|
StackdriverProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProjectId() |
org.springframework.core.io.Resource |
getServiceAccountCredentials() |
java.time.Duration |
getStep() |
void |
setProjectId(java.lang.String projectId) |
void |
setServiceAccountCredentials(org.springframework.core.io.Resource serviceAccountCredentials) |
void |
setStep(java.time.Duration step) |
getBatchSize, getConnectTimeout, getNumThreads, getReadTimeout, isEnabled, setBatchSize, setConnectTimeout, setEnabled, setNumThreads, setReadTimeoutpublic java.time.Duration getStep()
getStep in class StepRegistryPropertiespublic void setStep(java.time.Duration step)
setStep in class StepRegistryPropertiespublic java.lang.String getProjectId()
public void setProjectId(java.lang.String projectId)
public org.springframework.core.io.Resource getServiceAccountCredentials()
public void setServiceAccountCredentials(org.springframework.core.io.Resource serviceAccountCredentials)