Skip to content

Commit ba40696

Browse files
authored
Merge pull request #4001 from zac-nixon/znixon/fix-buckets
bug fix: use reasonable buckets for readiness gate flip metrics
2 parents e9445ad + 06cf08d commit ba40696

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/metrics/lbc/instruments.go

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func newInstruments(registerer prometheus.Registerer) *instruments {
2929
Subsystem: metricSubsystem,
3030
Name: MetricPodReadinessGateReady,
3131
Help: "Latency from pod getting added to the load balancer until the readiness gate is flipped to healthy.",
32+
Buckets: []float64{10, 30, 60, 120, 180, 240, 300, 360, 420, 480, 540, 600},
3233
}, []string{labelNamespace, labelName})
3334

3435
registerer.MustRegister(podReadinessFlipSeconds)

0 commit comments

Comments
 (0)