MongoDB too many connections warning
Too many connections (> 80%)
>>>
avg by(instance) (
rate
(
{conn_type="current"}[1m])) / avg by(instance) (sum (
) by (instance)) * 100 > 80
The rule computes, per MongoDB instance, the percentage of currently open connections (rate(mongodb_ss_connections{conn_type="current"}[1m])) relative to the total configured connections (sum(mongodb_ss_connections)) and triggers the alert when this percentage exceeds 80 %.
Get Alert✕
Download
Copy to Clipboard