Promhub Logo promhub_

MySQL too many connections (> 80%)
warning

Description More than 80% of MySQL connections are in use on {{ $labels.instance }}
Query for 2m
Query Explanation

The rule computes the peak number of MySQL threads connected over the past minute, divides it by the configured max_connections, multiplies by 100 to get a usage percentage, and fires when this exceeds 80 %. In other words, the alert triggers for an instance whenever more than 80% of its allowed MySQL connections are in use.

Exporters Used

Get Alert✕
Download
Copy to Clipboard