mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
Publish
This commit is contained in:
parent
8b730ef059
commit
32a4bfb19b
1 changed files with 3 additions and 3 deletions
6
dist/rules/postgresql/postgres-exporter.yml
vendored
6
dist/rules/postgresql/postgres-exporter.yml
vendored
|
|
@ -193,11 +193,11 @@ groups:
|
||||||
summary: Postgresql invalid index (instance {{ $labels.instance }})
|
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 }}"
|
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'
|
expr: 'pg_replication_lag_seconds > 5'
|
||||||
for: 30s
|
for: 30s
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: Postgresql replication lag high (instance {{ $labels.instance }})
|
summary: Postgresql replication lag (instance {{ $labels.instance }})
|
||||||
description: "The PostgreSQL replication lag is high (> 60s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
description: "The PostgreSQL replication lag is high (> 5s)\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue