debianmaster / openshift-examples

Openshift Examples - This repo does not provide end to end example but rather act as a rough draft for my work. use with caution. Buzzme at @twitter
https://twitter.com/debianmaster
280 stars 291 forks source link

no Prometheus readings for OpenShift #56

Open mohabh88 opened 6 years ago

mohabh88 commented 6 years ago

Hello Chakradhar,

First, I'd like to thank you for showing how to add Prometheus to OpenShift Cluster; greatly appreciated :)

I followed your tutorial step-by-step and watched the youtube video as well to add Prometheus to OpenShift; everything is created successfully inside my cluster, but unfortunately, it doesn't show any readings in the grafana dashboard!

I followed the guide and I was able to retrieve the graphs from http://prometheus-hono.192.168.42.242.nip.io/graph , but whenever shifting to grafana itself, it doesn't generate the metrics at all and it says "N/A" in all the dashboard sections.

Could you please provide more insights into this? I would be grateful if you helped to clear this out.

Here you are the screenshots related to the deployment and configurations

grafana_prometheus_openshift.zip

$ oc version
oc v3.7.1+ab0f056
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://192.168.42.242:8443
openshift v3.7.1+282e43f-42
kubernetes v1.7.6+a08f5eeb62

Also please let me know if any additional information is needed and I'd be delighted to address them. Looking forward to your reply. Mohab