Skip to content

Commit

Permalink
Merge pull request #4001 from zac-nixon/znixon/fix-buckets
Browse files Browse the repository at this point in the history
bug fix: use reasonable buckets for readiness gate flip metrics
  • Loading branch information
k8s-ci-robot authored Jan 10, 2025
2 parents e9445ad + 06cf08d commit ba40696
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/metrics/lbc/instruments.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func newInstruments(registerer prometheus.Registerer) *instruments {
Subsystem: metricSubsystem,
Name: MetricPodReadinessGateReady,
Help: "Latency from pod getting added to the load balancer until the readiness gate is flipped to healthy.",
Buckets: []float64{10, 30, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600},
}, []string{labelNamespace, labelName})

registerer.MustRegister(podReadinessFlipSeconds)
Expand Down

0 comments on commit ba40696

Please sign in to comment.