TiloBox
Back to directory
PostgreSQL Server Exporter project preview

PostgreSQL Server Exporter

Prometheus exporter for PostgreSQL server metrics, table bloat, locks, and query stats.

LicenseApache-2.0
GitHub stars3.8k
Last commit1 weeks ago
Tags6 topics
Prometheus ExporterDevopsPostgresql MetricsReplication LagQuery AnalyticsGolang
Overview

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.

Guided learning

Learn PostgreSQL Server Exporter by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of PostgreSQL Server Exporter

PostgreSQL Server Exporter surfaces slow queries and connection pool exhaustion before databases crash.

Quickstart

bash
1docker run -d -p 9187:9187 -e DATA_SOURCE_NAME="postgresql://postgres:pass@localhost:5432/postgres?sslmode=disable" prometheuscommunity/postgres-exporter

PostgreSQL Server Exporter is licensed under the Apache License Version 2.0.

Related tools

More options with a similar category or technology profile.

PostgreSQL Server Exporter FAQs

PostgreSQL Server Exporter is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

PostgreSQL Server Exporter is listed under the Apache-2.0 license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

PostgreSQL Server Exporter is listed as an alternative to Datadog Database Monitoring. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.