The up metric indicates the active status of a process. You can use the following alert policy to check whether a process is active:
SQL
* | select promql_query('up == 0') from metrics limit 1000