kepler
kepler copied to clipboard
"Other" metrics are out of proportion on local Kind cluster
What happened?
I've been running Kepler via a Kind cluster on my development laptop for the last couple of months. In recent days, I have discovered that the metrics, obtained via Prometheus, were displaying energy information (Watts) out of proportion. After taking a look I have noticed that the "other" counter are showing extremely large numbers and, due to the way that these are calculated, assigning it to the energy consumption of my deployments.
See images:
What did you expect to happen?
The metrics were more close to real deployment consumption.
How can we reproduce it (as minimally and precisely as possible)?
Unfortunately I don't have precise information on this. Cannot determine when and how it started, my Prometheus metrics only go as far as last boot.
Anything else we need to know?
No response
Kepler image tag
Kubernetes version
Cloud provider or bare metal
OS version
$ uname -a Linux ray-levv 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
</details>
### Install tools
<details>
</details>
### Kepler deployment config
<details>
For on kubernetes:
```console
$ KEPLER_NAMESPACE=kepler
# provide kepler configmap
$ kubectl get configmap kepler-cfm -n ${KEPLER_NAMESPACE}
# paste output here
# provide kepler deployment description
$ kubectl describe deployment kepler-exporter -n ${KEPLER_NAMESPACE}
For standalone: