Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(keyFilePath string) (*cloudmonitoring.Service, error)
Authenticate authenticates with the given JSON credentials file (or the default client if the file is not provided). If successful, it returns a service object that can be used in GCM API calls.
func GetMetric ¶
func GetMetric(name, project string) (*cloudmonitoring.MetricDescriptor, error)
GetMetric gets the custom metric descriptor with the given name and project.
func GetSortedMetricNames ¶
func GetSortedMetricNames() []string
GetSortedMetricNames gets the sorted metric names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.