VictoriaMetrics/lib/backup
Zakhar Bessarab 4be4645142
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:06 -08:00
..
actions app/vmbackupmanager: add metrics for better observability (#488) 2022-12-20 14:18:06 -08:00
azremote lib/backup/azremote: fix copying for parts larger than 256M by using async copy (#3479) 2022-12-13 09:32:57 -08:00
common removes FileSize from backup part key (#1872) 2021-12-01 11:01:28 +02:00
fscommon lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:06 -08:00
fslocal lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:06 -08:00
fsnil lib/backup: add MustStop() method for all remote filesystems 2020-10-09 15:32:19 +03:00
fsremote lib/backup: remove logging duplicate path values in a single error message 2022-12-03 21:55:06 -08:00
gcsremote vmbackup: configure retries for GCS remote FS (#3156) 2022-09-26 16:28:20 +03:00
s3remote lib/backup: set s3 default region to us-west-2 (#3224) 2022-10-13 10:30:07 +03:00