Grafana (9.1) Alerts - DatasourceNoData and DatasourceError

I’m having trouble with the alert notification on Grafana v9.1.0

I’ve got a CPU monitoring alert, from time to time there is a gap in the data that triggers an alert (even if it shouldn’t).

I’ve already set both DatasourceNoData and DatasourceError to be ignored, but it does not suffice as emails are still being sent

I’ve looked at the state history and see “Normal (Error)” as state, which is obviously triggering a notification…

Then I tried to filter them out via notification policy… but that’s not working (but I’ve seen no reference to the “alertname” label on v9.1, so it may have been introduced later…

How can I avoid sending notifications in case of DatasourceNoData and DatasourceError alerts?