I have a datasource that populates a set of fields based upon a variable’s value. If the value of said variable changes, those populated fields should either be cleared out or re-populated. I’ve been searching the docs and other community posts and have been unable to find a clean way of doing this - is this possible?
I would suggest learning about the EventBus and looking at the Grafana source code. We are using it in the panels, but it should be supported in the data sources as well.