# Prometheus Postgres Exporter

Prometheus Postgres Exporter is a self-hosted databases app. Prometheus exporter that collects and exposes PostgreSQL server metrics for monitoring database performance and health. It is open source and self-hosted, installable on Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/4694/prometheus-postgres-exporter

## Description

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

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

77/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 3 days ago)
- Popular: 71 (3,652 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 88 (no serious findings, CI, tests, OpenSSF Scorecard 7/10)

## Links

- Kubernetes (Helm): https://artifacthub.io/packages/helm/prometheus-community/prometheus-postgres-exporter
- GitHub: https://github.com/prometheus-community/postgres_exporter

## 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.

## Alternatives

- 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…

---
Source: Our Local Host (https://ourlocalhost.com/app/4694/prometheus-postgres-exporter), the self-hosted and open-source app directory.
