Skip to content

Files

23 lines (21 loc) · 7.9 KB

metrics-reference.md

File metadata and controls

23 lines (21 loc) · 7.9 KB

Default Exported Metrics References

Following the metrics which are exported and provided by controller-runtime by default:

Metrics name Type Description
workqueue_depth Gauge Current depth of workqueue.
workqueue_adds_total Counter Total number of adds handled by workqueue.
workqueue_queue_duration_seconds Histogram How long in seconds an item stays in workqueue before being requested.
workqueue_work_duration_seconds Histogram How long in seconds processing an item from workqueue takes.
workqueue_unfinished_work_seconds Gauge How many seconds of work has been done that is in progress and hasn't been observed by work_duration. Large values indicate stuck threads. One can deduce the number of stuck threads by observing the rate at which this increases.
workqueue_longest_running_processor_seconds Gauge How many seconds has the longest running processor for workqueue been running.
workqueue_retries_total Counter Total number of retries handled by workqueue.
rest_client_requests_total Counter Number of HTTP requests, partitioned by status code, method, and host.
controller_runtime_reconcile_total Counter Total number of reconciliations per controller.
controller_runtime_reconcile_errors_total Counter Total number of reconciliation errors per controller.
controller_runtime_terminal_reconcile_errors_total Counter Total number of terminal errors from the reconciler.
controller_runtime_reconcile_time_seconds Histogram Length of time per reconciliation per controller.
controller_runtime_max_concurrent_reconciles Gauge Maximum number of concurrent reconciles per controller.
controller_runtime_active_workers Gauge Number of currently used workers per controller.
controller_runtime_webhook_latency_seconds Histogram Histogram of the latency of processing admission requests.
controller_runtime_webhook_requests_total Counter Total number of admission requests by HTTP status code.
controller_runtime_webhook_requests_in_flight Gauge Current number of admission requests being served.