I’m using variableSrv to read the value of a variable from a Grafana plugin. But is there a way to trigger an event in case the variable is changed? Right now I have solved it by just checking the variable every 500 ms, and if it has changed I do my stuff. But It would be nice to get an event instead.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Event for detecting the change of template/dashboard variable | 0 | 601 | June 8, 2020 | |
| Grafana Plugin - React to variable changing | 0 | 86 | July 28, 2025 | |
| Reactive Grafana variables in plugin | 4 | 426 | March 20, 2025 | |
| Listen for changes to variable value in datasource | 5 | 1041 | March 15, 2025 | |
| How to listen for when a variable changes? | 23 | 11448 | November 1, 2022 |