metric

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// TypeContainerCPUUsageSecondsPercentage Metric type of container cpu usage
	TypeContainerCPUUsageSecondsPercentage ContainerMetricType = "cpu_usage_seconds_percentage"
	// TypeContainerMemoryUsageBytes Metric type of container memory usage
	TypeContainerMemoryUsageBytes ContainerMetricType = "memory_usage_bytes"

	// TypeNodeCPUUsageSecondsPercentage Metric type of cpu usage
	TypeNodeCPUUsageSecondsPercentage NodeMetricType = "node_cpu_usage_seconds_percentage"
	// TypeNodeMemoryTotalBytes Metric type of memory total
	TypeNodeMemoryTotalBytes NodeMetricType = "node_memory_total_bytes"
	// TypeNodeMemoryAvailableBytes Metric type of memory available
	TypeNodeMemoryAvailableBytes NodeMetricType = "node_memory_available_bytes"
	// TypeNodeMemoryUsageBytes Metric type of memory usage
	TypeNodeMemoryUsageBytes NodeMetricType = "node_memory_usage_bytes"
)

Variables

Functions

This section is empty.

Types

type ContainerMetricType

type ContainerMetricType = string

ContainerMetricType Type alias

type NodeMetricType

type NodeMetricType = string

NodeMetricType Type alias

type Sample

type Sample struct {
	Timestamp time.Time
	Value     string
}

Sample Data struct representing timestamp and metric value of metric data point

Jump to

Keyboard shortcuts

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