From 78cbc535941aaee0a0fda1c13a4db52b78b52bf2 Mon Sep 17 00:00:00 2001 From: Owen Cabalceta Date: Thu, 18 Aug 2022 14:15:02 -0400 Subject: [PATCH] Patch bad label in IncomingQueueLatencyHistogram metric --- metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics.go b/metrics.go index dbff60f8..2a0c15df 100644 --- a/metrics.go +++ b/metrics.go @@ -153,7 +153,7 @@ func Metrics() []xmetrics.Metric { Name: IncomingQueueLatencyHistogram, Help: "A histogram of latencies for the incoming queue.", Type: "histogram", - LabelNames: []string{"code"}, + LabelNames: []string{"event"}, Buckets: []float64{0.0625, 0.125, .25, .5, 1, 5, 10, 20, 40, 80, 160}, }, }