kepler icon indicating copy to clipboard operation
kepler copied to clipboard

"Other" metrics are out of proportion on local Kind cluster

Open raymundovr opened this issue 9 months ago • 0 comments

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: Screenshot from 2024-05-08 14-27-27

Captura de pantalla 2024-05-09 a la(s) 12 19 53

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

From the pod labels: helm.sh/chart: kepler-0.5.5 app.kubernetes.io/name: kepler app.kubernetes.io/component: exporter app.kubernetes.io/version: "release-0.7.2" app.kubernetes.io/managed-by: Helm

Kubernetes version

Client Version: v1.29.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.27.3

Cloud provider or bare metal

Bare metal. Kind local cluster.

OS version

``` $ cat /etc/os-release PRETTY_NAME="Ubuntu 24.04 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

$ 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:

put your Kepler command argument here

Container runtime (CRI) and version (if applicable)

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

raymundovr avatar May 09 '24 10:05 raymundovr