postgres_exporter/cmd/postgres_exporter
Kevin Pullin 6354b0c7e7
Add query for 'pg_replication_slots' (#465)
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.
2020-12-25 02:21:40 +11:00
..
tests Yaml parsing refactor (#299) 2019-10-31 22:07:59 +11:00
pg_setting_test.go multi-server-exporter multi server exporter is introduced 2018-12-19 01:46:45 +11:00
pg_setting.go multi-server-exporter multi server exporter is introduced 2018-12-19 01:46:45 +11:00
postgres_exporter_integration_test.go fix integration test 2019-11-20 10:18:20 +11:00
postgres_exporter_test.go fix master database behavior 2019-11-20 10:18:20 +11:00
postgres_exporter.go Add query for 'pg_replication_slots' (#465) 2020-12-25 02:21:40 +11:00