What Grafana version and what operating system are you using?
What are you trying to achieve?
In legacy alerting an alert is associated with a panel, but for new grafana alerting system it’s separated out, I’m looking for a way to setup alert that’s based on query for the panel so I dont need to update the alert’s query when panel query is updated.
How are you trying to achieve it?
I’ve looked the alert definition and couldnt find anywhere to make alert based on existing query from the panel.