Package io.micrometer.stackdriver.util
Class ClearCustomMetricDescriptors
java.lang.Object
io.micrometer.stackdriver.util.ClearCustomMetricDescriptors
When running this as a main method, supply an environment variable
GOOGLE_APPLICATION_CREDENTIALS with a service account JSON. Your service account must
have the "monitoring.editor" role at least.
- Since:
- 1.1.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clearCustomMetricDescriptors
(com.google.cloud.monitoring.v3.MetricServiceSettings settings, String projectId) static void
-
Constructor Details
-
ClearCustomMetricDescriptors
public ClearCustomMetricDescriptors()
-
-
Method Details
-
clearCustomMetricDescriptors
public static void clearCustomMetricDescriptors(com.google.cloud.monitoring.v3.MetricServiceSettings settings, String projectId) -
main
- Throws:
IOException
-