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", metrics.OSFeatureID: "compute.googleapis.com/guest/system/os_feature_enabled", metrics.SystemProcessesTotal: "kubernetes.io/internal/node/guest/system/processes_total", metrics.SystemProcsRunning: "kubernetes.io/internal/node/guest/system/procs_running", metrics.SystemProcsBlocked: "kubernetes.io/internal/node/guest/system/procs_blocked", metrics.SystemInterruptsTotal: "kubernetes.io/internal/node/guest/system/interrupts_total", metrics.SystemCPUStat: "kubernetes.io/internal/node/guest/system/cpu_stat", metrics.NetDevRxBytes: "kubernetes.io/internal/node/guest/net/rx_bytes", metrics.NetDevRxPackets: "kubernetes.io/internal/node/guest/net/rx_packets", metrics.NetDevRxErrors: "kubernetes.io/internal/node/guest/net/rx_errors", metrics.NetDevRxDropped: "kubernetes.io/internal/node/guest/net/rx_dropped", metrics.NetDevRxFifo: "kubernetes.io/internal/node/guest/net/rx_fifo", metrics.NetDevRxFrame: "kubernetes.io/internal/node/guest/net/rx_frame", metrics.NetDevRxCompressed: "kubernetes.io/internal/node/guest/net/rx_compressed", metrics.NetDevRxMulticast: "kubernetes.io/internal/node/guest/net/rx_multicast", metrics.NetDevTxBytes: "kubernetes.io/internal/node/guest/net/tx_bytes", metrics.NetDevTxPackets: "kubernetes.io/internal/node/guest/net/tx_packets", metrics.NetDevTxErrors: "kubernetes.io/internal/node/guest/net/tx_errors", metrics.NetDevTxDropped: "kubernetes.io/internal/node/guest/net/tx_dropped", metrics.NetDevTxFifo: "kubernetes.io/internal/node/guest/net/tx_fifo", metrics.NetDevTxCollisions: "kubernetes.io/internal/node/guest/net/tx_collisions", metrics.NetDevTxCarrier: "kubernetes.io/internal/node/guest/net/tx_carrier", metrics.NetDevTxCompressed: "kubernetes.io/internal/node/guest/net/tx_compressed", }
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.