Installation Prometheus-postgres-exporter #53
1 changed files with 11 additions and 11 deletions
|
@ -15,7 +15,7 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: Serveur Postgresql down (instance {{ raw('$labels.instance') }})
|
summary: Serveur PostgreSQL down (instance {{ raw('$labels.instance') }})
|
||||||
|
|
||||||
- alert: PostgresqlRestarted
|
- alert: PostgresqlRestarted
|
||||||
expr: time() - pg_postmaster_start_time_seconds < 60
|
expr: time() - pg_postmaster_start_time_seconds < 60
|
||||||
|
@ -23,7 +23,7 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: Serveur Postgresql redémarré (instance {{ raw('$labels.instance') }})
|
summary: Serveur PostgreSQL redémarré (instance {{ raw('$labels.instance') }})
|
||||||
|
|
||||||
- alert: PostgresqlExporterError
|
- alert: PostgresqlExporterError
|
||||||
expr: pg_exporter_last_scrape_error > 0
|
expr: pg_exporter_last_scrape_error > 0
|
||||||
|
@ -43,7 +43,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Réplication Postgresql lag ({{ raw('$value') }} > 30s)
|
La réplication PostgreSQL lag ({{ raw('$value') }} > 30s)
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname')}} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname')}} )
|
||||||
|
|
||||||
- alert: PostgresqlTableNotVaccumed
|
- alert: PostgresqlTableNotVaccumed
|
||||||
|
@ -55,7 +55,7 @@ groups:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
La table n'a pas été aspirée depuis 24h
|
Le démon autovacuum n'a pas été lancé depuis 24h
|
||||||
(Instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(Instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
|
|
||||||
- alert: PostgresqlTableNotAnalyzed
|
- alert: PostgresqlTableNotAnalyzed
|
||||||
|
@ -93,7 +93,7 @@ groups:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
PostgreSQL a des cadenas morts
|
PostgreSQL a plus de 5 deadlocks.
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
|
|
||||||
- alert: PostgresqlSlowQueries
|
- alert: PostgresqlSlowQueries
|
||||||
|
@ -118,7 +118,7 @@ groups:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Postgresql a un taux de retour en arrière (rollback) élevé
|
PostgreSQL a un taux de retour en arrière (rollback) élevé
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} %)
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} %)
|
||||||
|
|
||||||
- alert: PostgresqlWaleReplicationStopped
|
- alert: PostgresqlWaleReplicationStopped
|
||||||
|
@ -128,7 +128,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Réplication de Postgresql WALE stopée
|
Réplication de PostgreSQL WALE stopée
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
|
|
||||||
- alert: PostgresqlHighRateStatementTimeout
|
- alert: PostgresqlHighRateStatementTimeout
|
||||||
|
@ -138,7 +138,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Beaucoup de requêtes Postgresql sont timeout
|
Beaucoup de requêtes PostgreSQL sont timeout
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
|
||||||
|
|
||||||
- alert: PostgresqlHighRateDeadlock
|
- alert: PostgresqlHighRateDeadlock
|
||||||
|
@ -148,7 +148,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Postgresql a un fort taux de deadlock
|
PostgreSQL a un fort taux de deadlock
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
|
||||||
|
|
||||||
# - alert: PostgresqlReplicationLagBytes
|
# - alert: PostgresqlReplicationLagBytes
|
||||||
|
@ -183,7 +183,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Split Brain, trop de bases de données Postgresql primaires en mode lecture-écriture
|
Split Brain : trop de bases de données PostgreSQL primaires en mode lecture-écriture
|
||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value') }} )
|
||||||
|
|
||||||
- alert: PostgresqlPromotedNode
|
- alert: PostgresqlPromotedNode
|
||||||
|
@ -210,7 +210,7 @@ groups:
|
||||||
severity: critical
|
severity: critical
|
||||||
annotations:
|
annotations:
|
||||||
summary: >-
|
summary: >-
|
||||||
Trop de verrous acquis sur la base de données.
|
Trop de deadlocks acquis sur la base de données.
|
||||||
Si cette alerte se produit fréquemment, nous devrons peut-être augmenter
|
Si cette alerte se produit fréquemment, nous devrons peut-être augmenter
|
||||||
le paramètre postgres max_locks_per_transaction
|
le paramètre postgres max_locks_per_transaction
|
||||||
(instance {{ raw('$labels.instance') }}, value = {{ raw('$value | printf "%.1f"') }} )
|
(instance {{ raw('$labels.instance') }}, value = {{ raw('$value | printf "%.1f"') }} )
|
||||||
|
|
Loading…
Reference in a new issue