PostgreSQL Server Exporter
Prometheus exporter for PostgreSQL server metrics, table bloat, locks, and query stats.
Why consider PostgreSQL Server Exporter?
PostgreSQL Server Exporter is the standard Prometheus metric collector for PostgreSQL written in Go by the Prometheus Community. It gathers database metrics including connection pool saturation, deadlocks, vacuum health, replication lag, and pg_stat_statements query execution times.
Learn PostgreSQL Server Exporter by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of PostgreSQL Server Exporter
PostgreSQL Server Exporter surfaces slow queries and connection pool exhaustion before databases crash.
Quickstart
docker run -d -p 9187:9187 -e DATA_SOURCE_NAME="postgresql://postgres:pass@localhost:5432/postgres?sslmode=disable" prometheuscommunity/postgres-exporterPostgreSQL Server Exporter is licensed under the Apache License Version 2.0.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.