mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-07 17:51:33 +00:00
The existing 'pg_stat_replication' data does not include stats for inactive replication slots. This commit adds a minimal amount of metrics from 'pg_replication_slots' to know if a slot is active and its lag. This is helpful to detect if an inactive slot is causing the server to run out of storage due to an inactive slot blocking WAL flushing. |
||
---|---|---|
.. | ||
tests | ||
pg_setting_test.go | ||
pg_setting.go | ||
postgres_exporter_integration_test.go | ||
postgres_exporter_test.go | ||
postgres_exporter.go |