Documentation ¶
Overview ¶
ClearMetricsDescriptors - delete custom MetricDescriptors from a Google Cloud Project
Setup:
- Setup application default credentials to a user with 'roles/monitoring.admin' `gcloud auth application-default login`
- Ensure your GOPATH is correct relative to the source repo. For example if you set your GOPATH to $HOME/GO export GOPATH=$HOME/go This file should be located at: $HOME/go/src/github.com/cloudfoundry-community/stackdriver-tools/src/stackdriver-nozzle/cmd/clear-metric-descriptors.go
Usage (from this directory): go run ./clear-metric-descriptors.go --help
Click to show internal directories.
Click to hide internal directories.