⚠️ Behaviour change
Snapshots without a manifest (a backup still being written, or a damaged snapshot) no longer count as the newest backup (#226, #233). pbs_snapshot_vm_count, pbs_snapshot_vm_last_timestamp, pbs_snapshot_vm_last_verify and the vm_name label now come from finished snapshots only.
- During a running backup,
pbs_snapshot_vm_countno longer rises early andvm_nameno longer flips to"". - A guest whose first backup is still running exports no
last_timestamporlast_verifyuntil it finishes. Alerts usingabsent()fire during that window. - A damaged snapshot no longer passes as the newest backup, so freshness alerts may now fire where they stayed quiet before.
Features
- New metric
pbs_snapshot_vm_incomplete_count: snapshots per guest without a manifest. The example alertProxmoxBackupSnapshotIncomplete(> 0for 12h) inprometheus/rules/example-rules.yamlcatches a hung backup (#226, #233). - Optional TLS, client certificates and basic auth on the metrics endpoint via an exporter-toolkit web config:
--web.config.file/PBS_WEB_CONFIG_FILE. Without it the exporter serves plain HTTP as before (#229).
Fixes
- A running backup no longer makes
pbs_snapshot_vm_last_timestamplook fresh, so "newest backup older than N hours" alerts catch a hung backup (#226, #233). - Grafana dashboard: snapshot tables are grouped by
backup_type(#223). - Release workflow: lowercase the registry owner for forks, and fail fast when the ko publish fails (#228, #231).
Changelog
- 132113e: 🌱 bump the github-actions group across 1 directory with 6 updates (#230) (@dependabot[bot])
- ce531bf: chore: bump gosec and golangci-lint hooks for Go 1.27 (@janfuhrer)
- f52205a: chore: sync governance files (#225) (@natron-oss-governance[bot])
- c7bc8d6: ci: pass publish-image inputs to the ko step via env (#231) (@nicololuescher)
- a1a658b: feat: support TLS and authentication via exporter-toolkit web config (#229) (@awlynn68)
- a187269: fix(ci): lowercase the registry owner and fail fast when ko publish fails (#228) (@AlexMKX)
- 48593f7: fix: group dashboard snapshot tables by backup_type (@janfuhrer)
- dfd4bc6: fix: ignore snapshots without a manifest in last timestamp and verify (#233) (@nicololuescher)
Full Changelog: v0.10.0...v0.11.0
Docker Images
ghcr.io/natrontech/pbs-exporter:v0.11.0ghcr.io/natrontech/pbs-exporter:latest