Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricsNamespace = "kepler" EnergyMetricNameSuffix = "_joules_total" UsageMetricNameSuffix = "_total" MiliJouleToJoule = 1000 )
Variables ¶
View Source
var ( // Energy related metric labels ProcessEnergyLabels = []string{"pid", "container_id", "vm_id", "command", "mode"} ContainerEnergyLabels = []string{"container_id", "pod_name", "container_name", "container_namespace", "mode"} VMEnergyLabels = []string{"vm_id", "mode"} NodeEnergyLabels = []string{"package", "instance", "mode"} // Resource utilization related metric labels ProcessResUtilLabels = []string{"pid", "container_id", "vm_id", "command"} ContainerResUtilLabels = []string{"container_id", "pod_name", "container_name", "container_namespace"} VMResUtilLabels = []string{"vm_id"} NodeResUtilLabels = []string{"device", "instance"} GPUResUtilLabels = []string{"gpu_id"} )
View Source
var ( EnergyMetricNames = []string{ config.PKG, config.CORE, config.UNCORE, config.DRAM, config.OTHER, config.GPU, config.PLATFORM, } DynEnergyMetricNames = []string{ config.DynEnergyInPkg, config.DynEnergyInCore, config.DynEnergyInUnCore, config.DynEnergyInDRAM, config.DynEnergyInOther, config.DynEnergyInGPU, config.DynEnergyInPlatform, } IdleEnergyMetricNames = []string{ config.IdleEnergyInPkg, config.IdleEnergyInCore, config.IdleEnergyInUnCore, config.IdleEnergyInDRAM, config.IdleEnergyInOther, config.IdleEnergyInGPU, config.IdleEnergyInPlatform, } HCMetricNames = []string{ config.CPUCycle, config.CPUInstruction, config.CacheMiss, } SCMetricNames = []string{ config.CPUTime, config.TaskClock, config.PageCacheHit, } IRQMetricNames = []string{ config.IRQNetTXLabel, config.IRQNetRXLabel, config.IRQBlockLabel, } CGroupMetricNames = []string{ config.CgroupfsCPU, config.CgroupfsMemory, config.CgroupfsSystemCPU, config.CgroupfsUserCPU, } GPUMetricNames = []string{ config.GPUComputeUtilization, config.GPUMemUtilization, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.