News for hackers. Stuff that matters.

pg_exporter: A modular Prometheus exporter for PostgreSQL metrics

I just released pg_exporter. I’ve been using it internally for a few months, and it’s now in a state that feels solid enough to share.

The project’s goals are:

- Modular collectors: expose only the metrics you actually need rather than collecting everything by default

- Avoid unnecessary metrics: reduce Prometheus load by not exporting large sets of unused data

- Customizable: add or tailor collectors as needed while remaining compatible with the official postgres_exporter

- Low overhead: designed to avoid memory leaks and keep runtime resource usage extremely low

If you'd like to help test a PostgreSQL monitoring tool, contributions and feedback would be appreciated.

Repo: https://github.com/nbari/pg_exporter

( 1 comment | 2 points | on HN )
Re:pg_exporter: A modular Prometheus exporter for PostgreSQL... by nbari on Thursday December 11, 2025 @10:44AM (#46232789)