Skip to content

Releases: woblerr/pgbackrest_exporter

v0.17.0

06 Apr 14:28
9f2d93f
Compare
Choose a tag to compare
  • Update LICENSE for 2024 #77.
  • Update infra #79:
    • Bump go to 1.21.
    • Bump default pgBackRest version in container to v2.51.
    • Bump to PG 16 in e2e tests.
    • Bump golangci-lint to v1.56.2. Update golangci-lint config. Add gocritic linter.
    • Bump goreleaser to v1.24.0.
  • Bump dependencies to fix Dependabot alert #80.

Full Changelog: v0.16.2...v0.17.0

v0.16.2

25 Dec 20:06
b4460ad
Compare
Choose a tag to compare
  • Bump dependencies to fix Dependabot alert #76.

Full Changelog: v0.16.1...v0.16.2

v0.16.1

28 Oct 20:16
ff74ccf
Compare
Choose a tag to compare
  • Fix incorrect latest metrics when filtering backup types #75.

Full Changelog: v0.16.0...v0.16.1

v0.16.0

26 Oct 10:05
c8ba3db
Compare
Choose a tag to compare

Metrics

  • Add new annotations metrics #66:
    • pgbackrest_backup_annotations
    • pgbackrest_backup_last_annotations
  • Add new stanza metrics and bump default pgBackRest version to v2.48 #69:
    • pgbackrest_stanza_lock_status
    • pgbackrest_stanza_backup_compete_bytes
    • pgbackrest_stanza_backup_total_bytes
  • Add exporter get data status metric #72:
    • pgbackrest_exporter_status
  • Avoid flapping metrics #70, #74.
    To avoid flapping time series, default values were set for several metrics. This includes setting a default value of 0 for metrics such as pgbackrest_backup_error_status, pgbackrest_backup_annotations, pgbackrest_backup_databases, etc. A block_incr label was also added to all *_backup_* and *_backup_last_* metrics.

Documentation and other

  • Update of documentation format for metrics #68.
  • Update of goreleaser version #67.
  • Fix of dependabot alerts #73.

Full Changelog: v0.15.0...v0.16.0

v0.15.0

05 Jul 19:35
cb937cd
Compare
Choose a tag to compare
  • Refactoring to improve performance and code handling #57.
  • Don't use global stanzas variable #59.
  • Add parallelization for collecting *_databases metrics #60:
    • add --backrest.database-parallel-processes flag - number of parallel processes for collecting information about databases.
  • Add new *_last_* metrics #61:
    • pgbackrest_backup_last_duration_seconds
    • pgbackrest_backup_last_size_bytes
    • pgbackrest_backup_last_delta_bytes
    • pgbackrest_backup_last_repo_size_bytes
    • pgbackrest_backup_last_repo_size_map_bytes
    • pgbackrest_backup_last_repo_delta_bytes
    • pgbackrest_backup_last_repo_delta_map_bytes
    • pgbackrest_backup_last_error_status
  • Update default pgBackRest version to v2.46 #62
  • Switch to go 1.20 and update versions in CI #63 #64.

Full Changelog: v0.14.0...v0.15.0

v0.14.0

04 Apr 21:51
573aaf2
Compare
Choose a tag to compare
  • Bump prometheus/exporter-toolkit from v0.7.3 to v0.9.1 #53.

    Add flags:

    • --web.listen-address;
    • --web.config.file;
    • --web.systemd-socket.

    Rename flag:

    • --prom.endpoint to --web.endpoint.

    Delete flags:

    • --prom.port;
    • --prom.web-config.

    Add the ability to specify no- prefix for bool parameters.

    Add EXPORTER_CONFIG env variable to docker image.

  • Add changes from pgBackRest v2.45 #54 .

    Starting from pgBackRest v2.45, there is no backup set size value for block incremental backups. The pgbackrest_backup_repo_size_bytes metric will be absent for block incremental backups.

Full Changelog: v0.13.1...v0.14.0

v0.13.1

23 Feb 21:42
c950f43
Compare
Choose a tag to compare

Fix missing update for pgBackRest version inside docker image #50.

Full Changelog: v0.13.0...v0.13.1

v0.13.0

21 Feb 21:01
e1514a5
Compare
Choose a tag to compare
  • Add block incremental metrics #47:

    • pgbackrest_backup_repo_size_map_bytes - size of block incremental map.
    • pgbackrest_backup_repo_delta_map_bytes - size of block incremental delta map.

    Add label block_incr for pgbackrest_backup_info metric and update pgBackRest to v2.44.

  • Fix issues in tests #48.

  • Bump dependencies to fix Dependabot alerts #49.

Full Changelog: v0.12.1...v0.13.0

v0.12.1

28 Dec 22:00
f0d8ccb
Compare
Choose a tag to compare
  • Bump github.com/prometheus/exporter-toolkit from 0.7.1 to 0.7.3 #40.
  • Fix gracefully pgbackrest_exporter container terminating in k8s #41 by @vrivellino.
  • Bump infra version #42:
    • Bump golangci-lint to v1.50.1. Fixed reported issues.
    • Switched TZ to UTC in CI.
  • Add information about Grafana dashboard #43.
  • Add deb/rpm packages build to goreleaser #44, #38 by @nunopi . Add goreleaser config testing in CI.
  • Up pgBackRest version to 2.43 in docker image #45.

Full Changelog: v0.12.0...v0.12.1

v0.12.0

03 Oct 21:11
2ada696
Compare
Choose a tag to compare
  • Up pgBackRest version to 2.41 in docker image #32 #34.
  • Set metrics description to separate file #33.
  • Add metric for number of databases in the last backups #35.
    • Add new metric pgbackrest_backup_last_databases - number of databases in the last full, differential or incremental backup.
    • Add backrest.database-count-latest flag.
    • Rename flag verbose.info to backrest.verbose-wal.
    • Add backrest.verbose-wal and backrest.database-count-latest options to docker image - VERBOSE_WAL and DATABASE_COUNT_LATEST enviroument variables.
    • Update to Go 1.18.
  • Merge since_last_completion_seconds metrics into one #36.
    • The following metrics are merged into one pgbackrest_backup_since_last_completion_seconds: pgbackrest_backup_full_since_last_completion_seconds, pgbackrest_backup_diff_since_last_completion_seconds, pgbackrest_backup_incr_since_last_completion_seconds. The backup type is specified via the label backup_type.
  • Add metric for number of databases in backups #37.
    • Add new metric pgbackrest_backup_databases - number of databases in backup.
    • Add backrest.database-count flag.
    • Add backrest.database-count option to docker image - DATABASE_COUNT enviroument variable.

Full Changelog: v0.11.1...v0.12.0