metrics package - sigs.k8s.io/controller-runtime/pkg/metrics - Go Packages (original) (raw)

Package metrics contains controller related metrics utilities

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 all keys used by the workqueue.

This section is empty.

This section is empty.

RegistererGatherer combines both parts of the API of a Prometheus registry, both the Registerer and the Gatherer interfaces.

Registry is a prometheus registry for storing metrics within the controller-runtime.