diff --git a/pkg/controllers/metrics/pod/controller.go b/pkg/controllers/metrics/pod/controller.go index ade440c853..49169254d6 100644 --- a/pkg/controllers/metrics/pod/controller.go +++ b/pkg/controllers/metrics/pod/controller.go @@ -115,6 +115,7 @@ var ( Subsystem: metrics.PodSubsystem, Name: "provisioning_bound_duration_seconds", Help: "The time from when Karpenter first thinks the pod can schedule until it binds. Note: this calculated from a point in memory, not by the pod creation timestamp.", + Buckets: metrics.DurationBuckets(), }, []string{}, ) @@ -137,6 +138,7 @@ var ( Subsystem: metrics.PodSubsystem, Name: "provisioning_startup_duration_seconds", Help: "The time from when Karpenter first thinks the pod can schedule until the pod is running. Note: this calculated from a point in memory, not by the pod creation timestamp.", + Buckets: metrics.DurationBuckets(), }, []string{}, ) diff --git a/pkg/controllers/state/metrics.go b/pkg/controllers/state/metrics.go index 1c09d52654..a95a0f380a 100644 --- a/pkg/controllers/state/metrics.go +++ b/pkg/controllers/state/metrics.go @@ -66,6 +66,7 @@ var ( Subsystem: metrics.PodSubsystem, Name: "scheduling_decision_duration_seconds", Help: "The time it takes for Karpenter to first try to schedule a pod after it's been seen.", + Buckets: metrics.DurationBuckets(), }, []string{}, )