const WorkQueueSubsystem … const DepthKey … const AddsKey … const QueueLatencyKey … const WorkDurationKey … const UnfinishedWorkKey … const LongestRunningProcessorKey … const RetriesKey … var depth … var adds … var latency … var workDuration … var unfinished … var longestRunningProcessor … var retries … var metrics … type prometheusMetricsProvider … func init() { … } func (prometheusMetricsProvider) NewDepthMetric(name string) workqueue.GaugeMetric { … } func (prometheusMetricsProvider) NewAddsMetric(name string) workqueue.CounterMetric { … } func (prometheusMetricsProvider) NewLatencyMetric(name string) workqueue.HistogramMetric { … } func (prometheusMetricsProvider) NewWorkDurationMetric(name string) workqueue.HistogramMetric { … } func (prometheusMetricsProvider) NewUnfinishedWorkSecondsMetric(name string) workqueue.SettableGaugeMetric { … } func (prometheusMetricsProvider) NewLongestRunningProcessorSecondsMetric(name string) workqueue.SettableGaugeMetric { … } func (prometheusMetricsProvider) NewRetriesMetric(name string) workqueue.CounterMetric { … }