origin: Prometheus example can't get metrics from the router instance

I’ve deployed the Prometheus application from the examples directory and I’ve noticed that Prometheus discovers the router instance but scraping fails.

Version

oc v3.7.0+7ed6862 kubernetes v1.7.6+a08f5eeb62 features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://127.0.0.1:8443 openshift v3.7.0+7ed6862 kubernetes v1.7.6+a08f5eeb62

Steps To Reproduce
  1. Instantiate the template from https://github.com/openshift/origin/tree/master/examples/prometheus
  2. Once ready, open the Prometheus UI and go to the Targets page.
Current Result

The router instance is reported as DOWN in the kubernetes-service-endpoints job. The associated error is server returned HTTP status 500 Internal Server Error.

Expected Result

The router instance is UP and reports metrics in Prometheus.

Additional Information

image

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments

Since this does not appear to work, why is it even in the config then? This is very confusing as I have now spent a lot of time thinking that it was me that was doing something wrong, when in reality prometheus doesn’t even support this option. It would be nice if it did, so don’t get me wrong. But again its just very misleading and should be removed.