From c48fe1ae1772b21282d8349e88633ed11ab12798 Mon Sep 17 00:00:00 2001 From: pz2891 Date: Sun, 11 Apr 2021 20:57:53 +0200 Subject: [PATCH] 7% rollback for the warning --- roles/prometheus/templates/postgres.rules.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/prometheus/templates/postgres.rules.yml.j2 b/roles/prometheus/templates/postgres.rules.yml.j2 index 281e554..61af5dc 100644 --- a/roles/prometheus/templates/postgres.rules.yml.j2 +++ b/roles/prometheus/templates/postgres.rules.yml.j2 @@ -112,7 +112,7 @@ groups: rate(pg_stat_database_xact_rollback{datname!~"template.*"}[3m]) / rate(pg_stat_database_xact_commit{datname!~"template.*"}[3m]) ) * 100 - > 2 + > 7 for: 0m labels: severity: warning