You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's bit outdated, but updates are more or less straightforward, but I got stuck at the very end.
All requests to created Prometheus datasource ends with 401 Unauthorized .
The service account for grafana is actually grafana-grafana-cr-sa it does have cluster role cluster-monitoring-view bound as described.
What confuses me, is that guide is talking about basic auth, but with updated helm chart OAuth proxy is actually used so login as my Openshift user. But my user is cluster-admin, so I guess it should have access everywhere.
Where BEARER token is generated from service account.
I'd like to connect Grafana to OCP system metrics on thanos querier, but cannot get through. Also tried bit different approach, with direct deployment of grafana, which did worked well for Loki and logs, but again got stuct there on metrics - that time getting 403 responses for the datasource.
Is there somewhere recent example like this one, which will work with OCP 4.16 and recent versions of Grafana.
Thanks
The text was updated successfully, but these errors were encountered:
I'm following this guide content/o11y/ocp-grafana - https://cloud.redhat.com/experts/o11y/ocp-grafana/
It's bit outdated, but updates are more or less straightforward, but I got stuck at the very end.
All requests to created Prometheus datasource ends with 401 Unauthorized .
The service account for grafana is actually
grafana-grafana-cr-sa
it does have cluster role cluster-monitoring-view bound as described.What confuses me, is that guide is talking about basic auth, but with updated helm chart OAuth proxy is actually used so login as my Openshift user. But my user is cluster-admin, so I guess it should have access everywhere.
Data source is defined like this:
Where BEARER token is generated from service account.
I'd like to connect Grafana to OCP system metrics on thanos querier, but cannot get through. Also tried bit different approach, with direct deployment of grafana, which did worked well for Loki and logs, but again got stuct there on metrics - that time getting 403 responses for the datasource.
Is there somewhere recent example like this one, which will work with OCP 4.16 and recent versions of Grafana.
Thanks
The text was updated successfully, but these errors were encountered: