PGBouncer max connections
critical

Description The number of PGBouncer client connections has reached max_client_conn.
Query
>>>
	
				
					
					
						increase
					
				
			
				
					(
				
			
				
					
				
			
				
					{errmsg="no more connections allowed (max_client_conn)"}[30s]) > 0
				
			
    
Query Explanation

The query uses increase() over a 30‑second window to count new occurrences of the error no more connections allowed (max_client_conn) from the pgbouncer_errors_count metric. If the count is greater than 0 (i.e., at least one new max‑client‑connection error appears), the alert fires.

Get Alert
Download
Copy to Clipboard