Loki process too many restarts
warning

Description A loki process had too many restarts (target {{ $labels.instance }})
Query
>>>
	
				
					
					
						changes
					
				
			
				
					(
				
			
				
					
				
			
				
					{job=~".*loki.*"}[15m]) > 2
				
			
    
Query Explanation

The query counts how many times the process_start_time_seconds metric for Loki processes changes in the past 15 minutes, and fires when this count is greater than 2 – meaning a Loki instance has been restarted more than twice within that window. Thus, the alert triggers if any Loki target shows three or more restarts in a 15‑minute period.

Get Alert
Download
Copy to Clipboard