From 32a4bfb19b92042447a303b211686bb66c45d4a0 Mon Sep 17 00:00:00 2001 From: samber Date: Thu, 27 Mar 2025 16:23:49 +0000 Subject: [PATCH] Publish --- dist/rules/postgresql/postgres-exporter.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/rules/postgresql/postgres-exporter.yml b/dist/rules/postgresql/postgres-exporter.yml index cd48bb4..67b493c 100644 --- a/dist/rules/postgresql/postgres-exporter.yml +++ b/dist/rules/postgresql/postgres-exporter.yml @@ -193,11 +193,11 @@ groups: summary: Postgresql invalid index (instance {{ $labels.instance }}) description: "The table {{ $labels.relname }} has an invalid index: {{ $labels.indexrelname }}. You should execute `DROP INDEX {{ $labels.indexrelname }};`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - - alert: PostgresqlReplicationLagHigh + - alert: PostgresqlReplicationLag expr: 'pg_replication_lag_seconds > 5' for: 30s labels: severity: warning annotations: - summary: Postgresql replication lag high (instance {{ $labels.instance }}) - description: "The PostgreSQL replication lag is high (> 60s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" + summary: Postgresql replication lag (instance {{ $labels.instance }}) + description: "The PostgreSQL replication lag is high (> 5s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"