Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NPDMetricToSDMetric = map[metrics.MetricID]string{ metrics.CPURunnableTaskCountID: "compute.googleapis.com/guest/cpu/runnable_task_count", metrics.CPUUsageTimeID: "compute.googleapis.com/guest/cpu/usage_time", metrics.CPULoad1m: "compute.googleapis.com/guest/cpu/load_1m", metrics.CPULoad5m: "compute.googleapis.com/guest/cpu/load_5m", metrics.CPULoad15m: "compute.googleapis.com/guest/cpu/load_15m", metrics.DiskAvgQueueLenID: "compute.googleapis.com/guest/disk/queue_length", metrics.DiskBytesUsedID: "compute.googleapis.com/guest/disk/bytes_used", metrics.DiskIOTimeID: "compute.googleapis.com/guest/disk/io_time", metrics.DiskMergedOpsCountID: "compute.googleapis.com/guest/disk/merged_operation_count", metrics.DiskOpsBytesID: "compute.googleapis.com/guest/disk/operation_bytes_count", metrics.DiskOpsCountID: "compute.googleapis.com/guest/disk/operation_count", metrics.DiskOpsTimeID: "compute.googleapis.com/guest/disk/operation_time", metrics.DiskWeightedIOID: "compute.googleapis.com/guest/disk/weighted_io_time", metrics.HostUptimeID: "compute.googleapis.com/guest/system/uptime", metrics.MemoryAnonymousUsedID: "compute.googleapis.com/guest/memory/anonymous_used", metrics.MemoryBytesUsedID: "compute.googleapis.com/guest/memory/bytes_used", metrics.MemoryDirtyUsedID: "compute.googleapis.com/guest/memory/dirty_used", metrics.MemoryPageCacheUsedID: "compute.googleapis.com/guest/memory/page_cache_used", metrics.MemoryUnevictableUsedID: "compute.googleapis.com/guest/memory/unevictable_used", metrics.ProblemCounterID: "compute.googleapis.com/guest/system/problem_count", metrics.ProblemGaugeID: "compute.googleapis.com/guest/system/problem_state", }
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.