Kepler Metrics
This document describes the metrics exported by Kepler for monitoring energy consumption at various levels (node, container, process, VM).
Overview
Kepler exports metrics in Prometheus format that can be scraped by Prometheus or other compatible monitoring systems.
Metric Types
- COUNTER: A cumulative metric that only increases over time
- GAUGE: A metric that can increase and decrease
Metrics Reference
Node Metrics
These metrics provide energy and power information at the node level.
kepler_node_cpu_active_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu in active state at node level in joules
- Labels:
zonepath- Constant Labels:
node_name
kepler_node_cpu_active_watts
- Type: GAUGE
- Description: Power consumption of cpu in active state at node level in watts
- Labels:
zonepath- Constant Labels:
node_name
kepler_node_cpu_idle_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu in idle state at node level in joules
- Labels:
zonepath- Constant Labels:
node_name
kepler_node_cpu_idle_watts
- Type: GAUGE
- Description: Power consumption of cpu in idle state at node level in watts
- Labels:
zonepath- Constant Labels:
node_name
kepler_node_cpu_info
- Type: GAUGE
- Description: CPU information from procfs
- Labels:
processorvendor_idmodel_namephysical_idcore_id
kepler_node_cpu_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu at node level in joules
- Labels:
zonepath- Constant Labels:
node_name
kepler_node_cpu_usage_ratio
- Type: GAUGE
- Description: CPU usage ratio of a node (value between 0.0 and 1.0)
- Constant Labels:
node_name
kepler_node_cpu_watts
- Type: GAUGE
- Description: Power consumption of cpu at node level in watts
- Labels:
zonepath- Constant Labels:
node_name
Container Metrics
These metrics provide energy and power information for containers.
kepler_container_cpu_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu at container level in joules
- Labels:
container_idcontainer_nameruntimestatezonepod_id- Constant Labels:
node_name
kepler_container_cpu_watts
- Type: GAUGE
- Description: Power consumption of cpu at container level in watts
- Labels:
container_idcontainer_nameruntimestatezonepod_id- Constant Labels:
node_name
Process Metrics
These metrics provide energy and power information for individual processes.
kepler_process_cpu_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu at process level in joules
- Labels:
pidcommexetypestatecontainer_idvm_idzone- Constant Labels:
node_name
kepler_process_cpu_seconds_total
- Type: COUNTER
- Description: Total user and system time of cpu at process level in seconds
- Labels:
pidcommexetypecontainer_idvm_id- Constant Labels:
node_name
kepler_process_cpu_watts
- Type: GAUGE
- Description: Power consumption of cpu at process level in watts
- Labels:
pidcommexetypestatecontainer_idvm_idzone- Constant Labels:
node_name
Virtual Machine Metrics
These metrics provide energy and power information for virtual machines.
kepler_vm_cpu_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu at vm level in joules
- Labels:
vm_idvm_namehypervisorstatezone- Constant Labels:
node_name
kepler_vm_cpu_watts
- Type: GAUGE
- Description: Power consumption of cpu at vm level in watts
- Labels:
vm_idvm_namehypervisorstatezone- Constant Labels:
node_name
Pod Metrics
These metrics provide energy and power information for pods.
kepler_pod_cpu_joules_total
- Type: COUNTER
- Description: Energy consumption of cpu at pod level in joules
- Labels:
pod_idpod_namepod_namespacestatezone- Constant Labels:
node_name
kepler_pod_cpu_watts
- Type: GAUGE
- Description: Power consumption of cpu at pod level in watts
- Labels:
pod_idpod_namepod_namespacestatezone- Constant Labels:
node_name
Other Metrics
Additional metrics provided by Kepler.
kepler_build_info
- Type: GAUGE
- Description: A metric with a constant '1' value labeled with version information
- Labels:
archbranchrevisionversiongoversion
Experimental Metrics
⚠️ Warning: The following metrics are experimental and may change or be removed in future versions. They are provided for early testing and feedback purposes.
Platform Power Metrics
These experimental metrics provide platform-level power information from BMC sources (e.g., Redfish). Enable the experimental Redfish feature to collect these metrics.
kepler_platform_watts
- Type: GAUGE
- Description: Current platform power consumption in watts from BMC PowerControl entries
- Labels:
sourcenode_namebmc_idchassis_idpower_control_idpower_control_name
This documentation was automatically generated by the gen-metric-docs tool.