mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
fixup! add longest_running_processor_microseconds metric
This commit is contained in:
parent
680ddd49d8
commit
980242c209
@ -87,7 +87,7 @@ func (prometheusMetricsProvider) NewUnfinishedWorkSecondsMetric(name string) wor
|
|||||||
func (prometheusMetricsProvider) NewLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric {
|
func (prometheusMetricsProvider) NewLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric {
|
||||||
unfinished := prometheus.NewGauge(prometheus.GaugeOpts{
|
unfinished := prometheus.NewGauge(prometheus.GaugeOpts{
|
||||||
Subsystem: name,
|
Subsystem: name,
|
||||||
Name: "longest_running_procesor_microseconds",
|
Name: "longest_running_processor_microseconds",
|
||||||
Help: "How many microseconds has the longest running " +
|
Help: "How many microseconds has the longest running " +
|
||||||
"processor for " + name + " been running.",
|
"processor for " + name + " been running.",
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user