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 | |
---|---|---|---|---|
Listen for changes to variable value in datasource | 1 | 295 | October 13, 2023 | |
How to listen for when a variable changes? | 23 | 5728 | November 1, 2022 | |
Event for detecting the change of template/dashboard variable | 0 | 502 | June 8, 2020 | |
OnVariableChange Event :Catch event on template/variable changing in custom plugin develop | 0 | 534 | February 7, 2020 | |
Catch event on template/variable changing in custom plugin develop | 3 | 1179 | February 7, 2020 |