Thanos Rule Query High D N S Failures
warning

Description Thanos Rule {{$labels.job}} has {{$value | humanize}}% of failing DNS queries for query endpoints.
Query for 15m
>>>
	
				
					(sum by (job, instance) (
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{job=~".*thanos-rule.*"}[5m])) / sum by (job, instance) (
				
			
				
					
					
						rate
					
				
			
				
					(
				
			
				
					
				
			
				
					{job=~".*thanos-rule.*"}[5m])) * 100 > 1)
				
			
    
Query Explanation

The rule calculates, per Thanos‑rule job/instance, the percentage of DNS query failures by dividing the 5‑minute rate of thanos_rule_query_apis_dns_failures_total by the 5‑minute rate of thanos_rule_query_apis_dns_lookups_total and multiplying by 100; it fires when this percentage exceeds 1 %.

Get Alert
Download
Copy to Clipboard