HomeSoftware Heritage

monitor postgresql replication lag through prometheus data

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

monitor postgresql replication lag through prometheus data

  • Use a prometheus plugin for grafana (from prometheus)
  • create a wrapper to handle the query because when used with the puppet way to configure the probe, the parsing is not don correctly
  • raise the warning at 100GiB and the critical alert at 200GiB, it match what we observed in the last month but will be adapted later if needed

Related to T3452

Details

Provenance
vsellierAuthored on Aug 3 2021, 8:52 AM
vsellierPushed on Aug 3 2021, 11:24 AM
Differential Revision
D6050: monitor postgresql replication lag through prometheus data
Tasks
T3452: Replication lag between the dbs should raise icinga alerts

Commit No Longer Exists

This commit no longer exists in the repository.