michelin / snowflake-grafana-datasource

Snowflake Grafana datasource plugin enables the visual representation of Snowflake data within Grafana dashboards and manages alerts.
Apache License 2.0
67 stars 33 forks source link

Dashboard variables and annotations lack ability to enter a Query #3

Closed mshirman closed 2 years ago

mshirman commented 2 years ago

Both dashboard variables and the annotations are missing the option to add a Query. Unable to add variables and annotations to the dashboards. Is this something meant to be supported by the plugin?

staier commented 2 years ago

Yes, please . For example i am trying to filter stats by account or warehouse. now i have to maintain the list of accounts , but it is impossible to maintain a list of warehouses as it depends on account.

As far as i can see it is not implemented. https://grafana.com/docs/grafana/latest/developers/plugins/add-support-for-variables/#add-support-for-query-variables-to-your-data-source

inacionery commented 2 years ago

I sent a proposal here https://github.com/michelin/snowflake-grafana-datasource/pull/5