Documentation
¶
Overview ¶
Package metricsprovider provides a Prometheus registry for code in K8s client-go capable of providing metrics. Currently it registers itself as a metrics backend for workqueues, more can be added in the future. The registry with all the metrics is available as `Registry`.
Index ¶
Constants ¶
View Source
const ( WorkQueueSubsystem = "workqueue" DepthKey = "depth" AddsKey = "adds_total" QueueLatencyKey = "queue_duration_seconds" WorkDurationKey = "work_duration_seconds" UnfinishedWorkKey = "unfinished_work_seconds" LongestRunningProcessorKey = "longest_running_processor_seconds" RetriesKey = "retries_total" )
Metrics subsystem and keys used by the workqueue.
Variables ¶
View Source
var Registry = prometheus.NewRegistry()
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.