Skip to content

WIP: Send backup metrics to Prometheus in gitlab:backup:create

Markus Koller requested to merge siemens/gitlab-ce:feature/backup-metrics into master

What does this MR do?

Adds Prometheus metrics to the gitlab:backup:create rake task for backup size, start time, end time, and duration.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Backups are important and this allows setting up an alert if something went wrong (i.e. no new successful backup for a certain amount of time)

Having a history of the size of backups allows to better plan for future storage requirements.

Screenshots (if relevant)

Not a user-visible feature.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes #34362 (moved)

Edited by Markus Koller

Merge request reports