Prometheus DS: Support Google Authentication #69180
Replies: 3 comments 2 replies
-
I would be happy to use this feature once developed, instead of having the prometheus frontend sidecar running beside our Grafana as a roundabout means of getting access to Google Managed Prometheus. IMO I don't think there is anything stopping you from submitting a PR as long as it meets the contributing guidelines. Given your last point about recommending Prometheus over GCM, it seems this datasource would be very useful to that end :) |
Beta Was this translation helpful? Give feedback.
-
I have opened a feature request since discussions are going away: #79410. |
Beta Was this translation helpful? Give feedback.
-
Thanks @mhoran for the feature request! Closing this discussion. |
Beta Was this translation helpful? Give feedback.
-
Proposal
Hi! 👋🏽
I would like to propose adding support for Prometheus data source to access APIs authenticated using Google Auth (Oauth2 JWT as well as ADC). This can reuse exactly the same authenticated code and frontend as the Google Cloud Monitoring data source.
This feature could be enabled by environment variable or configuration field, similar to AWS and Azure available for enterprise and open source users.
Let me know if such a feature would be accepted if contributed by community. We would love to help. 🤗
Happy to discuss here or in DMs 👋🏽
Disclaimer: I am Prometheus & Thanos maintainer and I work with Google Managed Prometheus Team.
Motivation
The Google Managed Prometheus brings compatible Prometheus APIs for Google Cloud, enabling usage of Prometheus data source. Since Grafana Prometheus data source does not support neither Oauth2 nor Google Auth, Grafana users require installing proxy next to Grafana to use Prometheus data source.
Secondly, Prometheus data source already allows AWS and Azure auth behind flags, thus there is precedence in enabling popular cloud provider's support to Prometheus datasource.
Alternatives
Beta Was this translation helpful? Give feedback.
All reactions