mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
Add clarifying comment for histogram metric
Explain that the duration histogram tracks distribution of individual job durations, not accumulated sums, to address reviewer concerns. Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
@@ -83,6 +83,9 @@ const (
|
||||
// repo maintenance metrics
|
||||
repoMaintenanceSuccessTotal = "repo_maintenance_success_total"
|
||||
repoMaintenanceFailureTotal = "repo_maintenance_failure_total"
|
||||
// repoMaintenanceDurationSeconds tracks the distribution of maintenance job durations.
|
||||
// Each completed job's duration is recorded in the appropriate bucket, allowing
|
||||
// analysis of individual job performance and trending over time.
|
||||
repoMaintenanceDurationSeconds = "repo_maintenance_duration_seconds"
|
||||
|
||||
// Labels
|
||||
|
||||
Reference in New Issue
Block a user