Releases: woblerr/pgbackrest_exporter
v0.17.0
- 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 go to
- Bump dependencies to fix Dependabot alert #80.
Full Changelog: v0.16.2...v0.17.0
v0.16.2
- Bump dependencies to fix Dependabot alert #76.
Full Changelog: v0.16.1...v0.16.2
v0.16.1
- Fix incorrect latest metrics when filtering backup types #75.
Full Changelog: v0.16.0...v0.16.1
v0.16.0
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 of0
for metrics such aspgbackrest_backup_error_status
,pgbackrest_backup_annotations
,pgbackrest_backup_databases
, etc. Ablock_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
- 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
- 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
-
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 nobackup set size
value for block incremental backups. Thepgbackrest_backup_repo_size_bytes
metric will be absent for block incremental backups.
Full Changelog: v0.13.1...v0.14.0
v0.13.1
Fix missing update for pgBackRest version inside docker image #50.
Full Changelog: v0.13.0...v0.13.1
v0.13.0
-
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
forpgbackrest_backup_info
metric and update pgBackRest tov2.44
. -
Fix issues in tests #48.
-
Bump dependencies to fix Dependabot alerts #49.
Full Changelog: v0.12.1...v0.13.0
v0.12.1
- Bump
github.com/prometheus/exporter-toolkit
from0.7.1
to0.7.3
#40. - Fix gracefully pgbackrest_exporter container terminating in k8s #41 by @vrivellino.
- Bump infra version #42:
- Bump
golangci-lint
tov1.50.1
. Fixed reported issues. - Switched TZ to
UTC
in CI.
- Bump
- 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
- 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
tobackrest.verbose-wal
. - Add
backrest.verbose-wal
andbackrest.database-count-latest
options to docker image -VERBOSE_WAL
andDATABASE_COUNT_LATEST
enviroument variables. - Update to Go
1.18
.
- Add new metric
- 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 labelbackup_type
.
- The following metrics are merged into one
- 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.
- Add new metric
Full Changelog: v0.11.1...v0.12.0