Switch Datasources on the Fly

Thank you so much Daniel ! Muchas Gracias !

I didn’t know we could do that and we will look at that option.
Basically we have a python script that does most of the heavy work.
We could do the following in our tool:

1 - Create the PostGresDB from the Python tool
2 - Create the Grafana DS based on the newly created DB from Python using the Grafana APIs
3 - Change all our Dashboards to include that new variable

I think we have plan now.

Thanks a lot !

1 Like