PostgreSQL Exporter (postgres-exporter) Package name

Install latest/edge of PostgreSQL Exporter

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install postgres-exporter --edge

Don't have snapd? Get set up for snaps.

PostgreSQL Exporter is only available on the unstable edge channel. It could break and change often.

Channel Version Published

Details for PostgreSQL Exporter

Package name

  • postgres-exporter

License

  • Apache-2.0

Last updated

  • 13 August 2026 - latest/edge

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

Prometheus PostgreSQL Exporter

The PostgreSQL Exporter scrapes PostgreSQL server metrics and exports them as Prometheus metrics.

Key features:

  • Exports PostgreSQL server statistics as Prometheus metrics
  • Supports PostgreSQL 13, 14, 15, 16, 17, and 18
  • Configurable via DSN connection string

Default ports:

  • Metrics endpoint: 9187

Configuration:

  • snap set postgres-exporter web.listen-port=PORT
  • snap set postgres-exporter data-source.uri=localhost:5432/postgres?sslmode=disable
  • snap set postgres-exporter data-source.user=postgres
  • snap set postgres-exporter data-source.password=password
Revision Channel Version Published Build Commit

The build and commit information is derived from build infrastructure records.


Install PostgreSQL Exporter on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.