If you are developing content for a Grafana instance, you may have experienced this. I have faced this problem a few times.
When I develop a Grafana

Grafana as proxy - My gists about Observability

submited by
Style Pass
2024-11-15 14:30:03

If you are developing content for a Grafana instance, you may have experienced this. I have faced this problem a few times. When I develop a Grafana plugin on my local development machine, I like to have representative telemetry data. In previous posts I mentioned developing plugins with Grafana Scenes. This post can help you with Grafana Scenes plugins with local development.

I have also used OpenTelemetry demo in some cases, but this does not always produce the right data what I needed. Especially when production has a large set of services, it is hard to simulate this locally.

In some cases it is possible to connect directly to your data sources such as Prometheus. This is possible with Grafana Cloud, for example. Access to the data sources can be managed via the Grafana Cloud Portal. But this also requires that you get the credentials or a service account to connect to that data source. This is not always possible.

But what if you could use the production Grafana as a proxy to read the data? As a Grafana user, you are already allowed to see the metrics, for example. It is possible to have your local Grafana connect to the production Grafana and read the data through Grafana.

Leave a Comment