pgexporter is a Prometheus exporter for PostgreSQL.
pgexporter will connect to one or more PostgreSQL instances and let you monitor their operation.
See Metrics for a list of currently available metrics.
- Prometheus exporter
- Bridge support with a JSON feature
- Remote management
- Transport Layer Security (TLS) v1.2+ support
- Daemon mode
- User vault
See Getting Started on how to get started with pgexporter.
See Configuration on how to configure pgexporter.
See YAML on how to configure pgexporter with custom queries.
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
See Architecture for the architecture of pgexporter.
pgexporter requires
Alternative clang 8+ can be used.
The following commands will install pgexporter in the /usr/local hierarchy.
See RPM for how to build a RPM of pgexporter.
The following commands will create a DEBUG version of pgexporter.
Remember to set the log_level configuration option to debug5.
Contributions to pgexporter are managed on GitHub.com
Contributions are most welcome !
Please, consult our Code of Conduct policies for interacting in our community.
Consider giving the project a star on GitHub if you find it useful.