HomeSoftware Heritage

monitor postgresql replication lag through prometheus data

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