VictoriaMetrics/lib/backup
Zakhar Bessarab decf46d72b
app/vmbackupmanager: add metrics for better observability (#488)
* app/vmbackupmanager: add metrics for better observability, include more information to `/api/v1/backups` API call response

* app/vmbackupmanager: drop old metrics before creating new ones

* app/vmbackupmanager: use `_total` postfix for counter metrics

* app/vmbackupmanager: remove `_total` postfix for gauge-like metrics

* app/vmbackupmanager: add `_last_run_failed` metrics for backups and retention

* app/vmbackupmanager: address review feedback

* app/vmbackupmanager: fix metric name

* app/vmbackupmanager: address review feedback, remove background updates of metrics, add restoring state of `_last_run_failed` metric from remote storage

* app/vmbackupmanager: improve performance for backup size calculation

* app/vmbackupmanager: refactor backup and retention runs to deduplicate each run logic

* {app/vmbackupmanager,lib/formatutil}: move HumanizeBytes into lib package

* app/vmbackupmanager: fix creating new metrics instead of reusing existing ones

* lit/formatutil: add comment to make linter happy

* app/vmbackupmanager: address review feedback
2022-12-20 14:18:43 -08:00
..
actions app/vmbackupmanager: add metrics for better observability (#488) 2022-12-20 14:18:43 -08:00
azremote lib/backup/azremote: fix copying for parts larger than 256M by using async copy (#3479) 2022-12-13 09:36:36 -08:00
common removes FileSize from backup part key (#1872) 2021-12-01 12:30:03 +02:00
fscommon lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:12 -08:00
fslocal lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:12 -08:00
fsnil lib/backup: add MustStop() method for all remote filesystems 2020-10-09 15:32:13 +03:00
fsremote lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:12 -08:00
gcsremote vmbackup: configure retries for GCS remote FS (#3156) 2022-09-26 16:32:53 +03:00
s3remote lib/backup: set s3 default region to us-west-2 (#3224) 2022-10-13 12:06:24 +03:00