clear-metrics-descriptors

command
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2019 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL