mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +08:00
Publish
This commit is contained in:
parent
69c8208e3c
commit
93f9daecee
1 changed files with 4 additions and 4 deletions
8
dist/rules/postgresql/postgres-exporter.yml
vendored
8
dist/rules/postgresql/postgres-exporter.yml
vendored
|
|
@ -194,10 +194,10 @@ groups:
|
||||||
description: "The table {{ $labels.relname }} has an invalid index: {{ $labels.indexrelname }}. You should execute `DROP INDEX {{ $labels.indexrelname }};`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
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: PostgresqlReplicationLagHigh
|
||||||
expr: 'pg_replication_lag_seconds > 60'
|
expr: 'pg_replication_lag_seconds > 5'
|
||||||
for: 2m
|
for: 30s
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Postgresql replication lag high (> 60s) (instance {{ $labels.instance }})
|
summary: Postgresql replication lag high (instance {{ $labels.instance }})
|
||||||
description: "The PostgreSQL replication lag is high\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "The PostgreSQL replication lag is high (> 60s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue