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.
databases/prometheus-postgres-exporter: Set the version in build_info
The port didn't set the version that prometheus/common/version
reports, so build_info, the startup log and --version showed it as
empty. Set it to DISTVERSION at link time, as
net-mgmt/blackbox_exporter does.
MFH: 2026Q4
Reviewed by: olivier
Approved by: olivier (ports)
Differential Revision: https://reviews.freebsd.org/D61869
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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.
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 )