How to alert in Grafana 8 on data for service discovery targets?

Cannot find any document how to alert on “no data” targets. I am using prometheus service discovery and when setting the multidimensional alerting from grafana, the hosts which are not reporting are not handled at all. Any idea? This is a big blocker for us Thank you

Do you see something like this? Note at the bottom that there is “If no data or all values are null,” then set state to Alerting.

Thank you for the answer, but this is the old alerting from grafana. Whenever you migrate to the newest alerting system (and have prometheus as data source), you can use the following query to display the hosts which are not reporting:

up{environment="prod"} == 0