grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
133 stars 20 forks source link

SceneQueryRunner: run queries when datasource variable updates #859

Closed gtk-grafana closed 1 month ago

gtk-grafana commented 1 month ago

Runtime datasources don't update the UID of the datasource string that is passed into the datasource property of the SceneQueryRunner when the datasource variable is updated.

As such we should allow developers to pass in a datasource variable into the $variables, and any update to the datasource variable should cause any queryRunner to re-query.