VictoriaMetrics/app
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
..
vmagent lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
vmalert app/vmbackupmanager: add metrics for better observability (#488) 2022-12-20 14:18:43 -08:00
vmauth lib/flagutil: support for TB and TiB suffixes for command-line flags, which accept byte sizes 2022-12-14 17:53:18 -08:00
vmbackup lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
vmbackupmanager app/vmbackupmanager: add metrics for better observability (#488) 2022-12-20 14:18:43 -08:00
vmctl all: update Go builder from v1.19.3 to v1.19.4 2022-12-08 17:04:41 -08:00
vmgateway lib/flagutil: support for TB and TiB suffixes for command-line flags, which accept byte sizes 2022-12-14 17:53:18 -08:00
vminsert app/{vmagent,vminsert}/datadog: make the host label optional in DataDog data ingestion protocol 2022-12-10 23:33:17 -08:00
vmrestore lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
vmselect app/vmselect/promql: do not extend too short lookbehind window for rate() function if it is set explicitly 2022-12-20 00:18:32 -08:00
vmstorage lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
vmui fix: prevent run query when selecting autocomplete option (#3480) 2022-12-13 09:30:33 -08:00