github woblerr/pgbackrest_exporter v0.20.0

latest releases: v0.22.0, v0.21.0
9 months ago

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 ts label for the timestamp has been replaced with time. The caller field has been replaced by the source field. 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 /health or /check endpoints (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_info metric has been replaced with pgbackrest_exporter_build_info metric.
  • The --web.endpoint option has been replaced with --web.telemetry-path option.
  • The docker env EXPORTER_ENDPOINT has been replaced with EXPORTER_TELEMETRY_PATH env 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-toolkit to v0.14.0.
    • Bump github.com/prometheus/common to v0.63.0.
    • Bump github.com/prometheus/client_golang to v1.20.4.
    • Drop dependencies for go-kit/log and go-logfmt/logfmt. Update other dependencies.
  • Switch to Prometheus landing page #102, #103:
    • Switch to standard Prometheus landing page.
    • Add --web.telemetry-path option for path under which to expose metrics. Instead of --web.endpoint option.
    • 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 metric from prometheus/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 -w flags to reduce binary size through stripping debug symbols.
    • Rename docker env EXPORTER_ENDPOINT to EXPORTER_TELEMETRY_PATH.

Full Changelog: v0.19.0...v0.20.0

Don't miss a new pgbackrest_exporter release

NewReleases is sending notifications on new releases.