diff --git a/roles/prometheus/templates/postgres.rules.yml.j2 b/roles/prometheus/templates/postgres.rules.yml.j2 index 61af5dc..16695cf 100644 --- a/roles/prometheus/templates/postgres.rules.yml.j2 +++ b/roles/prometheus/templates/postgres.rules.yml.j2 @@ -15,7 +15,7 @@ groups: labels: severity: critical annotations: - summary: Serveur Postgresql down (instance {{ raw('$labels.instance') }}) + summary: Serveur PostgreSQL down (instance {{ raw('$labels.instance') }}) - alert: PostgresqlRestarted expr: time() - pg_postmaster_start_time_seconds < 60 @@ -23,7 +23,7 @@ groups: labels: severity: critical annotations: - summary: Serveur Postgresql redémarré (instance {{ raw('$labels.instance') }}) + summary: Serveur PostgreSQL redémarré (instance {{ raw('$labels.instance') }}) - alert: PostgresqlExporterError expr: pg_exporter_last_scrape_error > 0 @@ -43,7 +43,7 @@ groups: severity: critical annotations: summary: >- - Réplication Postgresql lag ({{ raw('$value') }} > 30s) + La réplication PostgreSQL lag ({{ raw('$value') }} > 30s) (instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname')}} ) - alert: PostgresqlTableNotVaccumed @@ -55,7 +55,7 @@ groups: severity: warning annotations: 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') }} ) - alert: PostgresqlTableNotAnalyzed @@ -93,7 +93,7 @@ groups: severity: warning annotations: summary: >- - PostgreSQL a des cadenas morts + PostgreSQL a plus de 5 deadlocks. (instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} ) - alert: PostgresqlSlowQueries @@ -118,7 +118,7 @@ groups: severity: warning annotations: 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"') }} %) - alert: PostgresqlWaleReplicationStopped @@ -128,7 +128,7 @@ groups: severity: critical annotations: summary: >- - Réplication de Postgresql WALE stopée + Réplication de PostgreSQL WALE stopée (instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} ) - alert: PostgresqlHighRateStatementTimeout @@ -138,7 +138,7 @@ groups: severity: critical annotations: 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"') }} ) - alert: PostgresqlHighRateDeadlock @@ -148,7 +148,7 @@ groups: severity: critical annotations: 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"') }} ) # - alert: PostgresqlReplicationLagBytes @@ -183,7 +183,7 @@ groups: severity: critical annotations: 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') }} ) - alert: PostgresqlPromotedNode @@ -210,7 +210,7 @@ groups: severity: critical annotations: 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 le paramètre postgres max_locks_per_transaction (instance {{ raw('$labels.instance') }}, value = {{ raw('$value | printf "%.1f"') }} )