notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
prometheus-postgres-exporter PostgreSQL metric exporter for Prometheus
0.18.1_4 databases on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.18.1_2Version of this port present on the latest quarterly branch.
Maintainer: ivy@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-05-27 16:06:06
Last Update: 2025-11-06 17:03:19
Commit Hash: 0dfced1
People watching this port, also watch:: dovecot, postfix, grafana, tor, nginx-prometheus-exporter
License: APACHE20
WWW:
https://github.com/prometheus-community/postgres_exporter
Description:
postgres_exporter is a Prometheus exporter for the PostgreSQL database. It can connect to multiple PostgreSQL databases as configured in Prometheus, and reports system-level metrics.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/postgres_exporter
  2. etc/postgres_exporter.yml.sample
  3. /usr/local/share/licenses/prometheus-postgres-exporter-0.18.1_4/catalog.mk
  4. /usr/local/share/licenses/prometheus-postgres-exporter-0.18.1_4/LICENSE
  5. /usr/local/share/licenses/prometheus-postgres-exporter-0.18.1_4/APACHE20
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • postgres_exporter
Dependency lines:
  • prometheus-postgres-exporter>0:databases/prometheus-postgres-exporter
To install the port:
cd /usr/ports/databases/prometheus-postgres-exporter/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/prometheus-postgres-exporter
  • pkg install prometheus-postgres-exporter
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: prometheus-postgres-exporter
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1759191767 SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.18.1/v0.18.1.mod) = bb1bfb3b310f64f02f53eb0c8d9a732ea6b14d09348212d8b600049bc2fb9311 SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.18.1/v0.18.1.mod) = 1814

Expand this list (2 items)

Collapse this list.

SHA256 (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.18.1/v0.18.1.zip) = e13f6e9171b8a616a608f3a1f259d64081e3a0e4bc15489f7e4a210361b8599b SIZE (go/databases_prometheus-postgres-exporter/prometheus-postgres-exporter-v0.18.1/v0.18.1.zip) = 169820

Collapse this list.


Packages (timestamps in pop-ups are UTC):
prometheus-postgres-exporter
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.18.1_10.18.1_4-0.17.1_50.18.1_4n/an/an/a
FreeBSD:13:quarterly0.18.10.18.1_2-0.17.1_20.18.1_2n/an/an/a
FreeBSD:14:latest0.18.1_10.18.1_4-0.17.1_40.18.1_4---
FreeBSD:14:quarterly0.18.1_20.18.1_2-0.17.1_20.18.1_2---
FreeBSD:15:latest0.18.1_20.18.1_4n/a-n/an/a--
FreeBSD:15:quarterly0.18.1_20.18.1_2n/a-n/an/a--
FreeBSD:16:latest0.18.1_10.18.1_4n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go124 : lang/go124
Fetch dependencies:
  1. go124 : lang/go124
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_prometheus-postgres-exporter
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/github.com/prometheus-community/postgres_exporter/@v/
Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.18.1_4
06 Nov 2025 17:03:19
commit hash: 0dfced16fb0f78e71c42a767df8b6f394a185d6ccommit hash: 0dfced16fb0f78e71c42a767df8b6f394a185d6ccommit hash: 0dfced16fb0f78e71c42a767df8b6f394a185d6ccommit hash: 0dfced16fb0f78e71c42a767df8b6f394a185d6c files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump Go ports for 1.24.10
0.18.1_3
01 Nov 2025 15:39:53
commit hash: 8f5520c3bdaad14bead3d5644ea787787f906349commit hash: 8f5520c3bdaad14bead3d5644ea787787f906349commit hash: 8f5520c3bdaad14bead3d5644ea787787f906349commit hash: 8f5520c3bdaad14bead3d5644ea787787f906349 files touched by this commit
Lexi Winter (ivy) search for other commits by this committer
Author: Zeus Panchenko
databases/prometheus-postgres-exporter: Allow environment to be set

When not using multi-target mode, postgres_exporter relies on its
environment for configuration of the monitoring target.  Add a new
postgres_exporter_env rc.conf option to allow this to be configured.

PR:	290694
Reviewed by:	arrowd
Approved by:	arrowd (ports)
Differential Revision:	https://reviews.freebsd.org/D53513
0.18.1_2
14 Oct 2025 15:13:55
commit hash: 90f976619bf883b36d921c6ab89ffc5ff156b391commit hash: 90f976619bf883b36d921c6ab89ffc5ff156b391commit hash: 90f976619bf883b36d921c6ab89ffc5ff156b391commit hash: 90f976619bf883b36d921c6ab89ffc5ff156b391 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump go ports for go-1.24.9
0.18.1_1
08 Oct 2025 00:41:39
commit hash: 2e7587aaf8e7f893fd2025d55f66de088427b180commit hash: 2e7587aaf8e7f893fd2025d55f66de088427b180commit hash: 2e7587aaf8e7f893fd2025d55f66de088427b180commit hash: 2e7587aaf8e7f893fd2025d55f66de088427b180 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
many: Bump dependent ports after go124 update
0.18.1
30 Sep 2025 01:26:58
commit hash: 96177757fd3e7a6fbb40fc959bd42e2a08404f3ccommit hash: 96177757fd3e7a6fbb40fc959bd42e2a08404f3ccommit hash: 96177757fd3e7a6fbb40fc959bd42e2a08404f3ccommit hash: 96177757fd3e7a6fbb40fc959bd42e2a08404f3c files touched by this commit
Lexi Winter (ivy) search for other commits by this committer
databases/prometheus-postgres-exporter: Update to 0.18.1

Release notes:
https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.18.1

Reviewed by:	jbo
Differential Revision:	https://reviews.freebsd.org/D52785
0.18.0
26 Sep 2025 01:31:03
commit hash: f076c80910f69d978ea676b4d0fc1efd016c9f0acommit hash: f076c80910f69d978ea676b4d0fc1efd016c9f0acommit hash: f076c80910f69d978ea676b4d0fc1efd016c9f0acommit hash: f076c80910f69d978ea676b4d0fc1efd016c9f0a files touched by this commit
Lexi Winter (ivy) search for other commits by this committer
databases/prometheus-postgres-exporter: Update to 0.18.0

Release notes:
https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.18.0

Reviewed by:	jbo
Approved by:	jbo (ports)
Differential Revision:	https://reviews.freebsd.org/D52741
0.17.1_5
04 Sep 2025 17:53:24
commit hash: 31a5a229a778dc5f458cb8887954f192d846e0e3commit hash: 31a5a229a778dc5f458cb8887954f192d846e0e3commit hash: 31a5a229a778dc5f458cb8887954f192d846e0e3commit hash: 31a5a229a778dc5f458cb8887954f192d846e0e3 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
many: Bump go ports for go-1.24.7
0.17.1_4
07 Aug 2025 00:02:46
commit hash: 53610681ea46b375186fc68723dcc335051ef9b4commit hash: 53610681ea46b375186fc68723dcc335051ef9b4commit hash: 53610681ea46b375186fc68723dcc335051ef9b4commit hash: 53610681ea46b375186fc68723dcc335051ef9b4 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
go ports: Bump for 1.24.6
0.17.1_3
09 Jul 2025 16:11:00
commit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847ecommit hash: 275975297bc1002e96f88f503cf18dea17df847e files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
many: Bump PORTREVISION for go-1.24.5 update
0.17.1_2
06 Jun 2025 20:00:53
commit hash: 94be418de3de0b9beea03165f868b89b524b2c23commit hash: 94be418de3de0b9beea03165f868b89b524b2c23commit hash: 94be418de3de0b9beea03165f868b89b524b2c23commit hash: 94be418de3de0b9beea03165f868b89b524b2c23 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump PORTREVISION after go124-1.24.4 update
0.17.1_1
21 May 2025 19:58:15
commit hash: 0bdd2ad334c94bfa4d976a8dde6e0ebc432f2a52commit hash: 0bdd2ad334c94bfa4d976a8dde6e0ebc432f2a52commit hash: 0bdd2ad334c94bfa4d976a8dde6e0ebc432f2a52commit hash: 0bdd2ad334c94bfa4d976a8dde6e0ebc432f2a52 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
go: Bump go124-dependent ports

Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
0.17.1
21 Apr 2025 03:24:33
commit hash: e40a53e67dff575fa521d1dd1839ce44bf0e6a4acommit hash: e40a53e67dff575fa521d1dd1839ce44bf0e6a4acommit hash: e40a53e67dff575fa521d1dd1839ce44bf0e6a4acommit hash: e40a53e67dff575fa521d1dd1839ce44bf0e6a4a files touched by this commit
Lexi Winter (ivy) search for other commits by this committer
databases/prometheus-postgres-exporter: update to 0.17.1

new upstream release; this adds support for PostgreSQL 17.

changes in 0.17.0:
https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.17.0
changes in 0.17.1:
https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.17.1

while here, update my email address.

PR:	285064
Reviewed by:	arrowd, imp
Approved by:	arrowd (ports), kevans (mentor)
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/379
0.16.0_2
02 Apr 2025 02:07:58
commit hash: a4e30d4f4fed37188c78999f90dd2757dfd9e95acommit hash: a4e30d4f4fed37188c78999f90dd2757dfd9e95acommit hash: a4e30d4f4fed37188c78999f90dd2757dfd9e95acommit hash: a4e30d4f4fed37188c78999f90dd2757dfd9e95a files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
go: Bump ports for go124 update
0.16.0_1
05 Mar 2025 16:02:56
commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027commit hash: d0642a617631ca9d19d24750b6669ecc13584027 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
Bump all go ports for yesterday's releases
0.16.0
14 Nov 2024 08:43:26
commit hash: a3b2656e217657f86fb00bca582c90b5ff42db08commit hash: a3b2656e217657f86fb00bca582c90b5ff42db08commit hash: a3b2656e217657f86fb00bca582c90b5ff42db08commit hash: a3b2656e217657f86fb00bca582c90b5ff42db08 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Lexi Winter
databases/prometheus-postgres-exporter: update to 0.16.0

 - the maintainer address is updated
 - a new pkg-message is added to document the breaking change in the log
   format when upgrading the package.

upstream release notes:

---o<---
BREAKING CHANGES:

The logging system has been replaced with log/slog from the stdlib. This
change is being made across the prometheus ecosystem. The logging output
has changed, but the messages and levels remain the same. The ts label
for the timestamp has bewen replaced with time, the accuracy is less,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.15.0_3
09 Aug 2024 06:24:08
commit hash: aa8c0111bfd641853f435ed69310589fccda2200commit hash: aa8c0111bfd641853f435ed69310589fccda2200commit hash: aa8c0111bfd641853f435ed69310589fccda2200commit hash: aa8c0111bfd641853f435ed69310589fccda2200 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update
0.15.0_2
03 Jul 2024 08:29:54
commit hash: c4b51c2028302d40de3907a04d99a92001bb83b1commit hash: c4b51c2028302d40de3907a04d99a92001bb83b1commit hash: c4b51c2028302d40de3907a04d99a92001bb83b1commit hash: c4b51c2028302d40de3907a04d99a92001bb83b1 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update
0.15.0_1
15 Jun 2024 09:52:17
commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1commit hash: 746fa696a12ef1ca798e36baf087f579375b8cd1 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
0.15.0
27 May 2024 16:04:11
commit hash: d387fce6b513cdb86d73cf8b7ab3e7ce6a3c3a97commit hash: d387fce6b513cdb86d73cf8b7ab3e7ce6a3c3a97commit hash: d387fce6b513cdb86d73cf8b7ab3e7ce6a3c3a97commit hash: d387fce6b513cdb86d73cf8b7ab3e7ce6a3c3a97 files touched by this commit
Joel Bodenmann (jbo) search for other commits by this committer
Author: Lexi Winter
databases/prometheus-postgres-exporter: New port

PostgreSQL metric exporter for Prometheus.

PR:			276996
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D44888

Number of commits found: 19