---
title: Install PostgreSQL Exporter on Linux | Snap Store
description: Get the latest version of PostgreSQL Exporter for Linux - Prometheus
  PostgreSQL Exporter
url: https://snapcraft.io/postgres-exporter
---

# PostgreSQL Exporter (postgres-exporter)

[Jacob Galiano (jake-galiano13)](https://snapcraft.io/publisher/jake-galiano13 "View all snaps from Jacob Galiano (jake-galiano13)")

* [Jacob Galiano (jake-galiano13)](https://snapcraft.io/publisher/jake-galiano13 "View all snaps from Jacob Galiano (jake-galiano13)")

latest/edge 0.20.1

Install latest/edge of PostgreSQL Exporter

---

**Install using the command line**

```
sudo snap install postgres-exporter --edge
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

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

---

### Package name

* postgres-exporter

---

### License

* Apache-2.0

---

### Last updated

* 13 August 2026 - latest/edge

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/postgres-exporter#report-snap-modal)

---

* [Description](https://snapcraft.io/postgres-exporter#tab-description)
* [Security](https://snapcraft.io/postgres-exporter#tab-security)

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

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/postgres-exporter/arch)

[### CentOS](https://snapcraft.io/install/postgres-exporter/centos)

[### Debian](https://snapcraft.io/install/postgres-exporter/debian)

[### elementary OS](https://snapcraft.io/install/postgres-exporter/elementary)

[### Fedora](https://snapcraft.io/install/postgres-exporter/fedora)

[### KDE Neon](https://snapcraft.io/install/postgres-exporter/kde-neon)

[### Kubuntu](https://snapcraft.io/install/postgres-exporter/kubuntu)

[### Manjaro](https://snapcraft.io/install/postgres-exporter/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/postgres-exporter/pop)

[### openSUSE](https://snapcraft.io/install/postgres-exporter/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/postgres-exporter/rhel)

[### Ubuntu](https://snapcraft.io/install/postgres-exporter/ubuntu)
