Alert rules cannot be created in the dashboard

I only saw it:

There are no alert rules linked to this panel.

No alerting capable query found

Cannot create alerts from this panel because no query to an alerting capable datasource is found.

Who can save me!:innocent:

I have the same problem. I solve it by deleting the metric query and recreate it. Then I can create Alert rules.

hello @qdflllxk

see this issue and the workaround Cannot create alert for time series · Issue #103039 · grafana/grafana · GitHub

hope it helps!