Skip to content

Commit

Permalink
chore: increase bucket sizes for pod scheduling metrics (#1817)
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran authored Nov 15, 2024
1 parent f85df3d commit 0495d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/controllers/metrics/pod/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
)
Expand All @@ -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{},
)
Expand Down
1 change: 1 addition & 0 deletions pkg/controllers/state/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{},
)
Expand Down

0 comments on commit 0495d54

Please sign in to comment.