Prometheus Postgres Exporter

Prometheus exporter that collects and exposes PostgreSQL server metrics for monitoring database performance and health.

  • Databases
  • Monitoring & Logging
Prometheus exporter that collects and exposes PostgreSQL server metrics for monitoring database performance and health.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

77/100 Good

Maintained
100last commit 3 days ago
Popular
713,652 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
88no serious findings, CI, tests, OpenSSF Scorecard 7/10

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
3,652
Open issues
218
Last commit
2026-11-18
Latest release
v0.21.1
License
Apache-2.0
Activity
declining

Checked today - source: GitHub (prometheus-community/postgres_exporter)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Start Prometheus with its config file Run Prometheus from the folder that holds prometheus.yml, then check http://localhost:9090/ to confirm it is up. Keep the ./data folder safe because that is where Prometheus stores its metrics database. source
  • Quick Start (Docker) postgres_exporter is available as a Docker image (prometheuscommunity/postgres-exporter). Launch the container with a connection to your PostgreSQL server per the README Quick Start, then have Prometheus scrape its metrics endpoint. source

Fetched 40 days ago - each note links to its source

Alternatives (12)

  • Amazon CloudWatch - Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications running on AWS.
  • Better Stack - AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
  • Datadog - Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
  • DeepFlow - Unify your cloud-native monitoring with zero-code eBPF, advanced profiling, and 10x storage efficiency.
  • Grafana Loki - Grafana Loki is an open-source log aggregation system.
  • Graylog - Graylog is a centralized log management platform built on open standards for capturing, storing, and analyzing terabytes of machine data in…
  • InfluxDB - InfluxDB is an open source time series database with no external dependencies.
  • Kibana - Kibana is the data visualization layer for querying, analyzing, and managing data stored in Elasticsearch.
  • New Relic - Pinpoint and solve performance issues in your Ruby, Java, .NET, PHP and Python apps with real user, application and server monitoring.
  • Prometheus - Prometheus is a systems and service monitoring system.
  • Splunk - Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
  • VictoriaMetrics - VictoriaMetrics is a fast, cost-effective, and scalable open-source time-series database that stores long-term monitoring metrics, accepts…

Checked 40 days ago - source: AlternativeTo

Common questions

How can I configure custom metrics and exporter flags in the Helm deployment?

The Helm discussion covers exporter flags and custom metrics, and it mentions the deprecated queries.yaml file plus custom query configuration.

What should I check if Prometheus is not displaying PostgreSQL data?

A Grafana thread points to the Postgres Exporter setup guide as a possible solution when Prometheus cannot display PostgreSQL data.

What common postgres-exporter issues are covered in troubleshooting?

The troubleshooting page covers connection problems, configuration issues, permission errors, metric collection problems, and performance issues.

Where do I find configuration guidance for managed or containerized PostgreSQL?

The environment-specific configuration page covers self-hosted instances, managed services such as Amazon RDS, and containerized deployments.

Answers sourced from community.grafana.com, deepwiki.com, deepwiki.com, discuss.prometheus.io

Community

Collected 48 days ago - public community threads