Breaking Сhanges
- 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
tslabel for the timestamp has been replaced withtime. Thecallerfield has been replaced by thesourcefield. The level field now exposes the log level in capital letters. - The landing page has been switched to Prometheus format. If someone previously used the
/healthor/checkendpoints (undocumented feature) to check the availability of the exporter, then this functionality is no longer available. You can use/endpoint to monitor the availability of the exporter. - The
pgbackrest_exporter_infometric has been replaced withpgbackrest_exporter_build_infometric. - The
--web.endpointoption has been replaced with--web.telemetry-pathoption. - The docker env
EXPORTER_ENDPOINThas been replaced withEXPORTER_TELEMETRY_PATHenv variable.
What's Changed
- Bump dependencies to fix Dependabot alerts #98.
- Bump default pgBackRest version to
v2.55.1#99. - Switch from go-kit/log to log/slog for logging #100:
- Bump
github.com/prometheus/exporter-toolkittov0.14.0. - Bump
github.com/prometheus/commontov0.63.0. - Bump
github.com/prometheus/client_golangtov1.20.4. - Drop dependencies for
go-kit/logandgo-logfmt/logfmt. Update other dependencies.
- Bump
- Switch to Prometheus landing page #102, #103:
- Switch to standard Prometheus landing page.
- Add
--web.telemetry-pathoption for path under which to expose metrics. Instead of--web.endpointoption. - Allow the use of the root path (
/) as the metrics path (through--web.telemetry-path). - Replace custom versioning with
prometheus/common/version package. - Add
pgbackrest_exporter_build_info metricfromprometheus/client_golang/prometheus/collectors/version. - Remove
pgbackrest_exporter_info metric. - Add version, branch, revision, build date and user info to all build configurations.
- Add
-s -wflags to reduce binary size through stripping debug symbols. - Rename docker env
EXPORTER_ENDPOINTtoEXPORTER_TELEMETRY_PATH.
Full Changelog: v0.19.0...v0.20.0