Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NPDMetricToSDMetric = map[metrics.MetricID]string{ metrics.HostUptimeID: "compute.googleapis.com/guest/system/uptime", metrics.ProblemCounterID: "compute.googleapis.com/guest/system/problem_count", metrics.ProblemGaugeID: "compute.googleapis.com/guest/system/problem_state", metrics.DiskAvgQueueLenID: "compute.googleapis.com/guest/disk/queue_length", metrics.DiskIOTimeID: "compute.googleapis.com/guest/disk/io_time", metrics.DiskWeightedIOID: "compute.googleapis.com/guest/disk/weighted_io_time", }
Functions ¶
func NewExporterOrDie ¶
func NewExporterOrDie(clo types.CommandLineOptions) types.Exporter
NewExporterOrDie creates an exporter to export metrics to Stackdriver, panics if error occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.