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 ¶
View Source
var ( // TypeToDatahubMetricType Type to datahub metric type TypeToDatahubMetricType = map[string]datahub_v1alpha1.MetricType{ TypeContainerCPUUsageSecondsPercentage: datahub_v1alpha1.MetricType_CPU_USAGE_SECONDS_PERCENTAGE, TypeContainerMemoryUsageBytes: datahub_v1alpha1.MetricType_MEMORY_USAGE_BYTES, TypeNodeCPUUsageSecondsPercentage: datahub_v1alpha1.MetricType_CPU_USAGE_SECONDS_PERCENTAGE, TypeNodeMemoryUsageBytes: datahub_v1alpha1.MetricType_MEMORY_USAGE_BYTES, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.