|
|
@ -18,7 +18,6 @@ import (
|
|
|
|
"time"
|
|
|
|
"time"
|
|
|
|
|
|
|
|
|
|
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
|
|
|
|
|
|
|
|
|
|
"k8s.io/client-go/tools/metrics"
|
|
|
|
"k8s.io/client-go/tools/metrics"
|
|
|
|
"k8s.io/client-go/util/workqueue"
|
|
|
|
"k8s.io/client-go/util/workqueue"
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -160,24 +159,3 @@ func (clientGoWorkqueueMetricsProvider) NewRetriesMetric(name string) workqueue.
|
|
|
|
// Retries are not used so the metric is omitted.
|
|
|
|
// Retries are not used so the metric is omitted.
|
|
|
|
return noopMetric{}
|
|
|
|
return noopMetric{}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func (clientGoWorkqueueMetricsProvider) NewDeprecatedDepthMetric(name string) workqueue.GaugeMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (clientGoWorkqueueMetricsProvider) NewDeprecatedAddsMetric(name string) workqueue.CounterMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (clientGoWorkqueueMetricsProvider) NewDeprecatedLatencyMetric(name string) workqueue.SummaryMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (f *clientGoWorkqueueMetricsProvider) NewDeprecatedWorkDurationMetric(name string) workqueue.SummaryMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (f *clientGoWorkqueueMetricsProvider) NewDeprecatedUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (f *clientGoWorkqueueMetricsProvider) NewDeprecatedLongestRunningProcessorMicrosecondsMetric(name string) workqueue.SettableGaugeMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (clientGoWorkqueueMetricsProvider) NewDeprecatedRetriesMetric(name string) workqueue.CounterMetric {
|
|
|
|
|
|
|
|
return noopMetric{}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|