Prometheus all targets missing
critical

Description A Prometheus job does not have living target anymore.
Query
>>>
	
				
					sum by (job) (
				
			
				
					
				
			
				
					) == 0
				
			
    
Query Explanation

This PromQL query calculates the sum of the up metric (which is 1 for healthy targets and 0 for unhealthy targets) grouped by each job name. The alert triggers when the total sum for any specific job is 0, indicating that all targets configured under that job label are currently reported as down by Prometheus.

Get Alert
Download
Copy to Clipboard