-
Notifications
You must be signed in to change notification settings - Fork 4
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 target for Routers #2
Comments
Hey @sayeedc, If you take a look at the Prometheus CR [1] you will see all the details that I used to setup my prometheus instance. |
Hey @luszczynski I've got a 401 error when trying to scrape the router metrics from prometheus. I'm using an existing one that's deployed via helm charts, and only need to pull in the HA proxy metrics. To view the kube-state metrics, I actually use the prometheus server in the OCP3.11 cluster monitoring stack as a datasource in my Grafana instance - I can't make modifications to the OCP 3.11 cluster monitoring stack. I've setup a target on my prometheus server
The service monitor is running in the same namespace as my prometheus instance:
I can curl the metrics on the router-apps using the same credentials from within the prometheus pod, but there's something missing on the target settings that's not allowing prometheus to scrape the same endpoint. What am I missing? |
I setup a separate prometheus instance to scrape the targets for haproxy, but wasn't able to pull any data. Can provide the prometheus config that's required for this setup?
The text was updated successfully, but these errors were encountered: