From 980242c2092df3594ed38540a80c4bf172c5a68d Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Mon, 12 Nov 2018 21:57:57 -0800 Subject: [PATCH] fixup! add longest_running_processor_microseconds metric --- pkg/util/workqueue/prometheus/prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/workqueue/prometheus/prometheus.go b/pkg/util/workqueue/prometheus/prometheus.go index c2f2cfce52..6f5cf38f09 100644 --- a/pkg/util/workqueue/prometheus/prometheus.go +++ b/pkg/util/workqueue/prometheus/prometheus.go @@ -87,7 +87,7 @@ func (prometheusMetricsProvider) NewUnfinishedWorkSecondsMetric(name string) wor func (prometheusMetricsProvider) NewLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric { unfinished := prometheus.NewGauge(prometheus.GaugeOpts{ Subsystem: name, - Name: "longest_running_procesor_microseconds", + Name: "longest_running_processor_microseconds", Help: "How many microseconds has the longest running " + "processor for " + name + " been running.", })