Hi internauts.
We have a particular use case at our platform. Currently, we have a Grafana instance deployed where many of our clients have their own folders with their own dashboards
Historically, we’ve been using one datasource per datacenter, so all dashboards—instead of using a datacenter variable—simply query the datasources as a variable. The relationship was 1:1
However, due to platform growth and scaling, we now have several additional datacenters. The architecture has changed: we now use Amazon Prometheus Service (APS), and a single datasource can have up to 5 datacenters. The relationship is now N:1
Obviously, this no longer follows the old standard because querying a datasource no longer means querying a single datacenter
Making all of our clients change their dashboards is not the desired approach. Most of them don’t deploy the dashboards as IaC, so making changes would require a massive amount of work from multiple sources
Is there any way to specify labels at the datasource level? This would solve our problem, as we could create N datasources—one for each datacenter—querying the same APS URL but with label filtering applied at the datasource configuration level.
Thanks!