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 web path is enabled in the ingress while not properly configured #2749

Open
sayf-eddine-scality opened this issue Aug 21, 2020 · 0 comments
Labels
complexity:easy Something that requires less than a day to fix topic:monitoring Everything related to monitoring of services in a running cluster

Comments

@sayf-eddine-scality
Copy link
Contributor

Component:
monitoring

What happened:
prometheus endpoint is available under /api/prometheus and the web component is not deactivated. This will result in an ugly broken page at /api/prometheus/graph

What was expected:
either a 404 or a working graph page

Steps to reproduce
navigate to /api/prometheus/graph

Resolution proposal (optional):
two solutions:

  • Disable the web component (aka no more prometheus/(graph/targets/status) )
  • Keep the web component without documenting it (for dev/test purposes) but tell prometheus where it is hosted so it serves the page correctly using --web.external-url
@sayf-eddine-scality sayf-eddine-scality added complexity:easy Something that requires less than a day to fix topic:monitoring Everything related to monitoring of services in a running cluster labels Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity:easy Something that requires less than a day to fix topic:monitoring Everything related to monitoring of services in a running cluster
Projects
None yet
Development

No branches or pull requests

1 participant