Skip to content


pgexporter is a Prometheus exporter for PostgreSQL.

pgexporter is licensed under the 3-Clause BSD license.


The goal of the project is to provide the Open Source community with an advanced Prometheus exporter for PostgreSQL.


  • Prometheus exporter
  • Custom metrics
  • Remote management
  • Transport Layer Security (TLS) v1.2+ support
  • Daemon mode
  • User vault


pgexporter makes use of:

  • Process model.
  • Shared memory model across processes.
  • libev for fast network interactions.
  • Atomic operations are used to keep track of state.
  • The PostgreSQL native protocol v3 for its communication.

Further information

  • pgagroal - High-performance connection pool for PostgreSQL
  • pgmoneta - Backup / restore solution for PostgreSQL