Commit 8d721b13 authored by Ashokraj Manikavasagam's avatar Ashokraj Manikavasagam 🇮🇳

Changing the threshold to 0.2

parent b58ede84
......@@ -385,7 +385,7 @@ groups:
which can be a result of an abuse or poorly-written query.
title: High rate of temporary files creation
- alert: PostgreSQL_TooManyLocksAcquired
expr: ((sum by(fqdn) (pg_locks_count)) / on (fqdn) ( pg_settings_max_locks_per_transaction * pg_settings_max_connections )) > 0.40
expr: ((sum by(fqdn) (pg_locks_count)) / on (fqdn) ( pg_settings_max_locks_per_transaction * pg_settings_max_connections )) > 0.20
for: 5m
labels:
severity: warn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment