Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kepler metric readings incorrectly report “source=intel-rapl” on RHEL9/arm64 #1348

Closed
jharriga opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
kind/bug report bug issue non-k8s environment Kepler running on Linux without Kubernetes

Comments

@jharriga
Copy link

What happened?

All Kepler metric readings incorrectly report “source=intel-rapl”

  • kepler_node_dram_joules_total{instance="perf-arm-11.perf.eng.bos2.dc.redhat.com",mode="dynamic",package="0",source="intel_rapl"} 0

What did you expect to happen?

source to reflect what mechanism is being used for arm64 systems

Worth noting that 'kepler_node_info' on the same system returns:

  • kepler_node_info{components_power_source="ampere-xgene-hwmon",cpu_architecture="unknown",platform_power_source="none",source="os"} 1

How can we reproduce it (as minimally and precisely as possible)?

Download & install rpm
start service
root# systemctl start container-kepler --now
root# curl localhost:8888/metrics | grep 'kepler-metric'

Anything else we need to know?

No response

Kepler image tag

v0.7.9

Kubernetes version

NONE

Cloud provider or bare metal

bare metal

OS version

On Linux:

$ cat /etc/os-release
Red Hat Enterprise Linux 9.3 (Plow)

$ uname -a
Linux perf-arm-11.perf.eng.bos2.dc.redhat.com 5.14.0-362.21.1.el9_3.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Jan 25 08:27:11 EST 2024 aarch64 aarch64 aarch64 GNU/Linux

Install tools

# rpm --version RPM version 4.16.1.3

Kepler deployment config

For standalone:
root# systemctl start container-kepler --now
root# curl localhost:8888/metrics | grep 'kepler-metric'

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

@jharriga jharriga added the kind/bug report bug issue label Apr 11, 2024
@rootfs rootfs self-assigned this Apr 12, 2024
@rootfs rootfs added the non-k8s environment Kepler running on Linux without Kubernetes label Apr 18, 2024
@rootfs
Copy link
Contributor

rootfs commented May 22, 2024

this should be fixed in here and picked up in 0.7.10 release.

@rootfs rootfs closed this as completed May 22, 2024
@jharriga
Copy link
Author

jharriga commented Jun 3, 2024

Running v0.7.10 on Ampere server and I still see 'source=intel-rapl'

uname -r

5.14.0-362.21.1.el9_3.aarch64

dnf list installed | grep kepler

container-kepler.noarch 0.7.10-1 @System

curl localhost:8888/metrics | grep kepler_node | wc -l

21

An example record:
kepler_node_core_joules_total{instance="perf-arm-11.perf.eng.bos2.dc.redhat.com",mode="dynamic",package="0",source="intel_rapl"} 97946.062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug report bug issue non-k8s environment Kepler running on Linux without Kubernetes
Projects
None yet
Development

No branches or pull requests

2 participants