diff --git a/doc/source/node_management/kubernetes/index-node-mgmt-kub-5ff5993b9c60.rst b/doc/source/node_management/kubernetes/index-node-mgmt-kub-5ff5993b9c60.rst index fad4d421d..066c3c5ad 100644 --- a/doc/source/node_management/kubernetes/index-node-mgmt-kub-5ff5993b9c60.rst +++ b/doc/source/node_management/kubernetes/index-node-mgmt-kub-5ff5993b9c60.rst @@ -439,9 +439,10 @@ Provision BMC using the CLI provisioning_bmc/provisioning-bmc-after-adding-a-host provisioning_bmc/deprovisioning-board-management-control-from-the-cli ----------------------------------- -Technology Preview - Power Metrics ----------------------------------- +------------- +Power Metrics +------------- + .. toctree:: :maxdepth: 1 diff --git a/doc/source/node_management/kubernetes/install-power-metrics-application-a12de3db7478.rst b/doc/source/node_management/kubernetes/install-power-metrics-application-a12de3db7478.rst index 5c998ce3b..73211fbd1 100644 --- a/doc/source/node_management/kubernetes/install-power-metrics-application-a12de3db7478.rst +++ b/doc/source/node_management/kubernetes/install-power-metrics-application-a12de3db7478.rst @@ -666,36 +666,4 @@ a container, it is exposed as ``container_perf_events_total``. It also reports the scaling ratio, which calculates the ratio of performance events in a container, it is exposed as -``container_perf_events_scaling_ration``. - -.. rubric:: **Per Core CPU Power usage** - -By considering the frequency of each core, gathered by -``powerstat_core_cpu_frequency_mhz`` metric with the amount of power usage of -the processor, gathered by -``powerstat_package_current_power_consumption_watts`` metric, it is possible to -estimate the total amount of power, in watts, that is being used by each core. - -Example of formula: - -per_cpu_consumption = ((0.6 * powerstat_core_cpu_frequency_mhz{cpu_id=x, -package_id=y})/ ∑ powerstat_core_cpu_frequency_mhz{package_id=y}) * -powerstat_package_current_power_consumption_watts{package_id=y} - -.. rubric:: **Container CPU Power usage** - -By gathering the number of instructions in each container running on the -cluster, gathered by the ``container_perf_events_total`` metric, with the -corresponding core that they are using, determined by the per core cpu power -usage described above, and the total number of instructions per core, also -available from ``container_perf_events_total metric``, it is possible to -estimate the power that is being consumed by each container. - -Example of formula to calculate the power consumption of a container on a core: - -container_per_cpu_consumption = (container_perf_events_total{cpu=x, -container=z} / container_perf_events_total {cpu=x}) * -per_cpu_consumption{cpu=x} - -Where "X" is the core_id of the cpu, "Y" is the package_id or physical_id of -the processor, and "Z" is the container name. +``container_perf_events_scaling_ration``. \ No newline at end of file