Update alerts (remove instance, translations)

pull/53/head
pz2891 3 years ago
parent fd5ad8d5ac
commit 226b55b0d1

@ -15,7 +15,7 @@ groups:
labels:
severity: critical
annotations:
summary: Serveur PostgreSQL down (instance {{ raw('$labels.instance') }})
summary: Serveur PostgreSQL down
- 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é
- alert: PostgresqlExporterError
expr: pg_exporter_last_scrape_error > 0
@ -31,7 +31,7 @@ groups:
labels:
severity: critical
annotations:
summary: Erreur dans l'exporter Postgresql (instance {{ raw('$labels.instance') }})
summary: Erreur dans l'exporter PostgreSQL
- alert: PostgresqlReplicationLag
expr:
@ -44,7 +44,7 @@ groups:
annotations:
summary: >-
La réplication PostgreSQL lag ({{ raw('$value') }} > 30s)
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname')}} )
(base de données {{ raw('$labels.datname')}} )
- alert: PostgresqlTableNotVaccumed
expr:
@ -56,7 +56,7 @@ groups:
annotations:
summary: >-
Le démon autovacuum n'a pas été lancé depuis 24h
(Instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
(base de données {{ raw('$labels.datname') }} )
- alert: PostgresqlTableNotAnalyzed
expr:
@ -68,7 +68,7 @@ groups:
annotations:
summary: >-
Table non-analysée depuis 24h
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }})
(base de données {{ raw('$labels.datname') }})
- alert: PostgresqlTooManyConnections
expr:
@ -84,7 +84,7 @@ groups:
summary: >-
PostgreSQL a trop de connexions
({{ raw('$value | printf "%.1f"') }} > 80%)
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }})
(base de données {{ raw('$labels.datname') }})
- alert: PostgresqlDeadLocks
expr: increase(pg_stat_database_deadlocks{datname!~"template.*|postgres"}[1m]) > 5
@ -94,7 +94,7 @@ groups:
annotations:
summary: >-
PostgreSQL a plus de 5 deadlocks.
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
(base de données {{ raw('$labels.datname') }} )
- alert: PostgresqlSlowQueries
expr: pg_slow_queries > 0
@ -104,7 +104,7 @@ groups:
annotations:
summary: >-
Présence de requêtes lentes (slow-queries)
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
(base de données {{ raw('$labels.datname') }} )
- alert: PostgresqlHighRollbackRate
expr:
@ -119,7 +119,7 @@ groups:
annotations:
summary: >-
PostgreSQL a un taux de retour en arrière (rollback) élevé
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} %)
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value | printf "%.1f"') }} %)
- alert: PostgresqlWaleReplicationStopped
expr: rate(pg_xlog_position_bytes[1m]) == 0
@ -129,7 +129,7 @@ groups:
annotations:
summary: >-
Réplication de PostgreSQL WALE stopée
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
(base de données {{ raw('$labels.datname') }} )
- alert: PostgresqlHighRateStatementTimeout
expr: rate(postgresql_errors_total{type="statement_timeout"}[1m]) > 3
@ -139,7 +139,7 @@ groups:
annotations:
summary: >-
Beaucoup de requêtes PostgreSQL sont timeout
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value | printf "%.1f"') }} )
- alert: PostgresqlHighRateDeadlock
expr: increase(postgresql_errors_total{type="deadlock_detected"}[1m]) > 1
@ -149,7 +149,7 @@ groups:
annotations:
summary: >-
PostgreSQL a un fort taux de deadlock
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value | printf "%.1f"') }} )
# - alert: PostgresqlReplicationLagBytes
# expr:
@ -174,7 +174,7 @@ groups:
annotations:
summary: >-
Les tuples morts PostgreSQL sont trop volumineux
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value | printf "%.1f"') }} )
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value | printf "%.1f"') }} )
- alert: PostgresqlSplitBrain
expr: count(pg_replication_is_replica == 0) != 1
@ -184,7 +184,7 @@ groups:
annotations:
summary: >-
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') }} )
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value') }} )
- alert: PostgresqlPromotedNode
expr:
@ -197,7 +197,7 @@ groups:
annotations:
summary: >-
Le serveur de secours PostgreSQL a été promu comme nœud principal
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value') }})
(base de données {{ raw('$labels.datname') }}, valeur {{ raw('$value') }})
- alert: PostgresqlTooManyLocksAcquired
expr:
@ -213,7 +213,7 @@ groups:
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"') }} )
(Valeur = {{ raw('$value | printf "%.1f"') }} )
...

Loading…
Cancel
Save