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

prometheus metrics charts use wrong prometheus-server proxy port #2360

Open
starudream opened this issue Sep 30, 2024 · 1 comment
Open

prometheus metrics charts use wrong prometheus-server proxy port #2360

starudream opened this issue Sep 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working charts prometheus Relating to prometheus and the prometheus plugin

Comments

@starudream
Copy link

  1. follow readme install Prometheus App.

image

  1. click Pods and select a pod.

image

http://localhost:4466/clusters/local215/api/v1/namespaces/prometheus/pods/prometheus-server-dd484f8d9-2dc2d/proxy/api/v1/query_range?start=1727685466.471&end=1727686066.471&step=2&query=sum%28rate%28container_cpu_usage_seconds_total%7Bcontainer%21%3D%27%27%2Cnamespace%3D%27prometheus%27%2Cpod%3D%27prometheus-server-dd484f8d9-2dc2d%27%7D%5B1m%5D%29%29+by+%28pod%2Cnamespace%29
404 page not found
  1. uninstall Prometheus App.

  2. reinstall Prometheus App, and edit configmapReload.prometheus.enabled to false.

image

  1. it works

image


maybe headlamp-k8s/plugins prometheus/src/request.tsx#L52 use wrong port 8080 instead of 9090.

image

@dosubot dosubot bot added charts prometheus Relating to prometheus and the prometheus plugin labels Sep 30, 2024
@joaquimrocha
Copy link
Collaborator

cc @yolossn

@illume illume added the bug Something isn't working label Sep 30, 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 charts prometheus Relating to prometheus and the prometheus plugin
Projects
Development

No branches or pull requests

4 participants