Installation Prometheus-postgres-exporter #53
|
@ -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') }})
|
||||||
pz2891 marked this conversation as resolved
Outdated
|
|||||||
|
|
||||||
- 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') }})
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
|
|||||||
|
|
||||||
- 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')}} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" en français ?
|
|||||||
|
|
||||||
- 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
|
||||||
pz2891 marked this conversation as resolved
Outdated
otthorn
commented
Je suis pas sûr que des gens utilisent vraiment "aspirée" pour traduire "autovacuum" https://docs.postgresql.fr/8.1/runtime-config-autovacuum.html (seul source que j'ai trouvé en français) Je suis pas sûr que des gens utilisent vraiment "aspirée" pour traduire "autovacuum"
https://docs.postgresql.fr/8.1/runtime-config-autovacuum.html (seul source que j'ai trouvé en français)
|
|||||||
(Instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(Instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" en français ?
|
|||||||
|
|
||||||
- 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.
|
||||||
pz2891 marked this conversation as resolved
Outdated
otthorn
commented
Pareil je pense pas que ça se traduise Source random https://forum.postgresql.fr/viewtopic.php?id=5643 Pareil je pense pas que ça se traduise
Source random https://forum.postgresql.fr/viewtopic.php?id=5643
|
|||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" en français ?
|
|||||||
|
|
||||||
- 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"') }} %)
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" et "value" en français ?
|
|||||||
|
|
||||||
- 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
|
||||||
pz2891 marked this conversation as resolved
Outdated
otthorn
commented
WALE ? WAL peut être ? WALE ?
https://www.postgresql.org/search/?u=%2Fdocs%2F13%2F&q=WALE
WAL peut être ?
Sinon je ne sais pas ce que c'est.
pz2891
commented
J'ai repris la source : https://awesome-prometheus-alerts.grep.to/rules.html#rule-postgresql-15 J'ai repris la source : https://awesome-prometheus-alerts.grep.to/rules.html#rule-postgresql-15
|
|||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" en français ?
"stoppée".
|
|||||||
|
|
||||||
- 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"') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" et "value" en français ?
|
|||||||
|
|
||||||
- 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"') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" et "value" en français ?
|
|||||||
|
|
||||||
# - 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
|
||||||
pz2891 marked this conversation as resolved
Outdated
otthorn
commented
proposition: "Split Brain : trop de bases [...]" proposition: "Split Brain : trop de bases [...]"
|
|||||||
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value') }} )
|
(instance {{ raw('$labels.instance') }}, database {{ raw('$labels.datname') }}, value {{ raw('$value') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" et "value" en français ?
|
|||||||
|
|
||||||
- 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.
|
||||||
pz2891 marked this conversation as resolved
Outdated
otthorn
commented
Pareil, je ne pense pas que ça se traduise. Ou alors peut etre plutot par "Verouillages" non ? Pareil, je ne pense pas que ça se traduise. Ou alors peut etre plutot par "Verouillages" non ?
J'ai pas de source pour ça.
|
|||||||
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"') }} )
|
||||||
pz2891 marked this conversation as resolved
Outdated
jeltz
commented
Idem (instance superflue). Idem (instance superflue).
Mettre "database" et "value" en français ?
|
|||||||
|
|
Idem (instance superflue).