how to connect the Prometheus through Openshift. The log metrics should be visible in Prometheus. we have tried locally it is working there but we want in Openshift environment.
how to connect the Prometheus through Openshift. The log metrics should be visible in Prometheus. we have tried locally it is working there but we want in Openshift environment.
Accessing the Prometheus using Grafana requires cluster-monitoring-view permission to get metrics on the Prometheus.
$ oc create sa <Service Account Name>
cluster-monitoring-view to the SA.$ oc adm policy add-cluster-role-to-user cluster-monitoring-view -z <Service Account Name>
$ oc sa get-token <Service Account Name>
"Authorization: bearer <TOKEN>"