Skip to content

Commit 06cf08d

Browse files
committed
bug fix: use reasonable buckets for readiness gate flip metrics
1 parent 4c9f8a1 commit 06cf08d

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)