Files
velero/changelogs
Shubham Pampattiwar fdf439963c Add Prometheus metrics for maintenance jobs
Adds three new Prometheus metrics to track backup repository
maintenance job execution:

- velero_maintenance_job_success_total: Counter for successful jobs
- velero_maintenance_job_failure_total: Counter for failed jobs
- velero_maintenance_job_duration_seconds: Histogram for job duration

Metrics use repository_name label to identify specific BackupRepositories.
Duration is recorded for both successful and failed jobs (when job runs),
but not when job fails to start.

Includes comprehensive unit and integration tests.

Fixes #9225

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
2025-12-02 11:36:15 -08:00
..
2023-03-09 14:24:51 +08:00
2022-11-25 17:14:52 +08:00
2023-08-18 16:05:50 +08:00
2024-06-13 11:21:00 +08:00
2024-10-22 18:30:26 +08:00
2025-03-28 11:38:14 +08:00
2025-08-27 17:43:42 +08:00