Package io.micrometer.stackdriver.util
Class ClearCustomMetricDescriptors
- java.lang.Object
-
- io.micrometer.stackdriver.util.ClearCustomMetricDescriptors
-
public class ClearCustomMetricDescriptors extends java.lang.Object
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:
- Google Cloud authentication, Google Cloud access control
-
-
Constructor Summary
Constructors Constructor Description ClearCustomMetricDescriptors()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearCustomMetricDescriptors(com.google.cloud.monitoring.v3.MetricServiceSettings settings, java.lang.String projectId)
static void
main(java.lang.String[] args)
-