PG_EXPORTER
7 pagesPG Exporter 1.6.1 Documentation
Monitor PostgreSQL with 460 metric definitions, declarative configuration, and dynamic planning. Get Started | GitHub | Live Demo Features Feature Description Comprehensive Metrics 460 metric definitions cover nearly every statistics view in …
Monitor PostgreSQL with 460 metric definitions, declarative configuration, and dynamic planning. Get Started | GitHub | Live Demo Features Feature Description Comprehensive Metrics 460 metric definitions cover nearly every statistics view in …
Release Notes
The latest stable pg_exporter release is v1.6.1. Version Date Summary GitHub v1.6.1 2026-11-11 Table statistics fixes, duplicate scalar isolation, connection fixes, systemd reload, Go 1.27.4 v1.6.1 v1.6.0 2026-11-09 Decoupled health probe, bounded …
The latest stable pg_exporter release is v1.6.1. Version Date Summary GitHub v1.6.1 2026-11-11 Table statistics fixes, duplicate scalar isolation, connection fixes, systemd reload, Go 1.27.4 v1.6.1 v1.6.0 2026-11-09 Decoupled health probe, bounded …
Deployment
Use this page to deploy pg_exporter in production. It describes process arguments, environment variables, monitoring users, credentials, and deployment with systemd, Docker, or Kubernetes. It also describes pgBouncer monitoring, auto-discovery, …
Use this page to deploy pg_exporter in production. It describes process arguments, environment variables, monitoring users, credentials, and deployment with systemd, Docker, or Kubernetes. It also describes pgBouncer monitoring, auto-discovery, …
API Reference
pg_exporter provides four types of HTTP endpoints: metrics, health checks, traffic routing, and operational management. The default listen port is :9630. The following table lists all endpoints: Endpoint Method Description /metrics GET Prometheus …
pg_exporter provides four types of HTTP endpoints: metrics, health checks, traffic routing, and operational management. The default listen port is :9630. The following table lists all endpoints: Endpoint Method Description /metrics GET Prometheus …
Configuration
Each business metric in pg_exporter comes from a YAML collector definition. A collector contains one SQL query and its execution conditions: version, role, tags, and predicates. It also controls caching and timeout. This page describes all collector …
Each business metric in pg_exporter comes from a YAML collector definition. A collector contains one SQL query and its execution conditions: version, role, tags, and predicates. It also controls caching and timeout. This page describes all collector …
Installation
Install pg_exporter with Pigsty, YUM/APT repositories, GitHub release packages (RPM/DEB/Tarball), or Docker images. You can also build it from source. Repository installation uses the current package in the repository, which can lag the GitHub …
Install pg_exporter with Pigsty, YUM/APT repositories, GitHub release packages (RPM/DEB/Tarball), or Docker images. You can also build it from source. Repository installation uses the current package in the repository, which can lag the GitHub …
Getting Started
Follow these steps to install pg_exporter, connect to PostgreSQL, check metrics, and configure Prometheus. You need a reachable PostgreSQL 10-19+ or pgBouncer 1.8+ instance and permission to create a user in it. For PostgreSQL 9.1-9.6, see …
Follow these steps to install pg_exporter, connect to PostgreSQL, check metrics, and configure Prometheus. You need a reachable PostgreSQL 10-19+ or pgBouncer 1.8+ instance and permission to create a user in it. For PostgreSQL 9.1-9.6, see …