Can I create Datasource Variable for Grafana Infinity?

Hi There

I am trying to figure out if there is a possibility to create a dynamic Datasource for Grafana Infinity, so that i can switch the Panel Data between the Environments.
I mean when you go into a Dashboard - Settings - Variables you can create a Custom Variable for your Environment and link it to a Datasource Variable for example /Prometheus_$Environment/ . Can I do this for the Plugin Infinity? I tried without a Result.

Thanks for Help.

What are these environments? dev qa staging production?

Hi there

Yes. Environments. Dev, Applicationtest, Integration Test and Production.

I meanwhile solved this Question internally.

Solution. I created to variables. 1 for Environment and 1 for Datasource. In the Environment Label I manually added the Environments f.eg. it,at,kt,ut,prod And in the Datasource I related the Environments to the Datasource Label. And with that I had a Menu in my Dashboards to switch between Environments :slight_smile:

1 Like