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

Metrics are not available due to missing or invalid Prometheus configuration. #8044

Open
chuegel opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chuegel
Copy link

chuegel commented Apr 29, 2024

Describe the bug
We have installed kube-prometheus-stack 58.2.2 with flux. All pods are fine:

NAME                                                        READY   STATUS    RESTARTS   AGE
kube-prometheus-stack-grafana-7599479ffb-mjxdk              3/3     Running   0          2d7h
kube-prometheus-stack-kube-state-metrics-64db64c4d5-ktpvf   1/1     Running   0          2d5h
kube-prometheus-stack-operator-77c75fccd-c6qlf              1/1     Running   0          33m
kube-prometheus-stack-prometheus-node-exporter-5x97x        1/1     Running   0          4d18h
kube-prometheus-stack-prometheus-node-exporter-97dbf        1/1     Running   0          4d18h
kube-prometheus-stack-prometheus-node-exporter-hz4zf        1/1     Running   0          4d18h
loki-stack-0                                                1/1     Running   0          4d18h
loki-stack-promtail-bc95r                                   1/1     Running   0          4d18h
loki-stack-promtail-fpnh9                                   1/1     Running   0          4d18h
loki-stack-promtail-z64hg                                   1/1     Running   0          4d18h
prometheus-kube-prometheus-stack-prometheus-0               2/2     Running   0          2d5h

We already applied the values described here: https://github.com/lensapp/lens/blob/master/troubleshooting/custom-prometheus.md but the cluster node metrics are not available. Further, the memory metrics are not correct (see screenshot below)

grafik

grafik

grafik

However pod metrics are working.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
To be able to see node metrics as well.

Screenshots
see above

Environment (please complete the following information):

  • Lens Version: 6.5.2-366
  • OS: Ubuntu 22.04
  • Installation method (e.g. snap or AppImage in Linux): deb

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:

when starting open-lens in CLI the app doesn't outputs any logs

Kubeconfig:
Quite often the problems are caused by malformed kubeconfig which the application tries to load. Please share your kubeconfig, remember to remove any secret and sensitive information.

kubeconfig works fine

Additional context
Add any other context about the problem here.

@chuegel chuegel added the bug Something isn't working label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant