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

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

Open
raymundovr opened this issue May 9, 2024 · 0 comments
Open

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

raymundovr opened this issue May 9, 2024 · 0 comments
Labels
kind/bug report bug issue

Comments

@raymundovr
Copy link

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 raymundovr added the kind/bug report bug issue label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug report bug issue
Projects
None yet
Development

No branches or pull requests

1 participant