KAI Scheduler integration metrics
The official Datadog integration for monitoring KAI Scheduler. It collects 112 metrics.
Official summary
Monitor KAI Scheduler quotas, fair share, scheduling latency, and preemption
Metric types
- gauge (value at a point in time): 67
- count (occurrences in the interval): 45
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
kai.Duration of the last run of each scheduling action. | gauge | millisecond |
kai.Number of pod groups each scheduling action attempted to schedule. | count | - |
kai.Number of pod groups each scheduling action scheduled. | count | - |
kai.Number of scenarios each scheduling action filtered out before simulation. | count | - |
kai.Number of scenarios each scheduling action simulated. | count | - |
kai.Number of TLS certificate reads by the controller-runtime certificate watcher. | count | - |
kai.Number of failed TLS certificate reads by the controller-runtime certificate watcher. | count | - |
kai.Number of reconcile workers currently in use, per controller. | gauge | - |
kai.Number of panics in the conversion webhook. | count | - |
kai.Maximum number of concurrent reconciles allowed, per controller. | gauge | - |
kai.Number of reconciliations, per controller and result. | count | - |
kai.Number of reconciliations that returned an error, per controller. | count | - |
kai.Number of reconciliations that panicked, per controller. | count | - |
kai.Distribution of reconciliation durations, per controller. | gauge | second |
kai.Number of timed reconciliations, per controller. | count | - |
kai.Total time spent reconciling, per controller. | count | second |
kai.Number of reconciliations that timed out, per controller. | count | - |
kai.Number of reconciliations that returned a terminal error, which is not retried, per controller. | count | - |
kai.Distribution of admission webhook request latencies, per webhook path. | gauge | second |
kai.Number of timed admission webhook requests, per webhook path. | count | - |
kai.Total time spent processing admission webhook requests, per webhook path. | count | second |
kai.Number of panics in admission webhooks. | count | - |
kai.Number of admission webhook requests, per HTTP status code. | count | - |
kai.Number of admission webhook requests currently being served. | gauge | - |
kai.Number of pods evicted, by namespace, node pool, and action. | count | - |
kai.The summary count of garbage collection cycles. | count | - |
kai.A summary of the pause duration of garbage collection cycles. | gauge | second |
kai.The sum of the pause duration of garbage collection cycles. | count | second |
kai.Heap growth percentage that triggers garbage collection, set by GOGC. 100 by default. | gauge | percent |
kai.Soft memory limit of the Go runtime, set by GOMEMLIMIT. The maximum int64 value when unset. | gauge | byte |
kai.Number of goroutines that currently exist. | gauge | - |
kai.Always 1. The go_version tag holds the Go version the component was built with. | gauge | - |
kai.Heap memory allocated to objects and still in use. | gauge | byte |
kai.Heap memory allocated since the process started, including memory already freed. | count | byte |
kai.Memory used by the profiling bucket hash table. | gauge | byte |
kai.Number of heap objects freed. | count | - |
kai.Memory used for garbage collection metadata. | gauge | byte |
kai.Heap memory allocated to objects and still in use. Same value as kai.go.memstats.alloc_bytes. | gauge | byte |
kai.Heap memory not in use, either free or returned to the operating system. | gauge | byte |
kai.Heap memory in use, including space reserved for objects but not yet used. | gauge | byte |
kai.Number of allocated heap objects, live or not yet swept. | gauge | - |
kai.Heap memory returned to the operating system. | gauge | byte |
kai.Heap memory obtained from the operating system. | gauge | byte |
kai.Number of heap objects allocated. | count | - |
kai.Memory in use by mcache structures, the per-processor allocation caches. | gauge | byte |
kai.Memory obtained from the operating system for mcache structures. | gauge | byte |
kai.Memory in use by mspan structures, which track heap spans. | gauge | byte |
kai.Memory obtained from the operating system for mspan structures. | gauge | byte |
kai.Target heap size of the next garbage collection cycle. | gauge | byte |
kai.Memory used for other runtime allocations, such as trace buffers and profiling. | gauge | byte |
kai.Memory used by goroutine stacks. | gauge | byte |
kai.Memory obtained from the operating system for stacks, including OS thread stacks. | gauge | byte |
kai.Total memory obtained from the operating system by the Go runtime. | gauge | byte |
kai.Time since the last garbage collection. | gauge | second |
kai.Number of operating system threads created by the Go runtime. | gauge | - |
kai.Whether this replica holds the leader election lease: 1 for the leader, 0 for a standby. | gauge | - |
kai.Duration of the last OnSessionOpen or OnSessionClose call of each scheduler plugin. | gauge | millisecond |
kai.Number of preemption attempts. | count | attempt |
kai.User and system CPU time used by the component process. | count | second |
kai.Maximum number of file descriptors the component process can open. | gauge | - |
kai.Bytes received over the network by the component process. | count | byte |
kai.Bytes sent over the network by the component process. | count | byte |
kai.Number of file descriptors open by the component process. | gauge | - |
kai.Resident memory size of the component process. | gauge | byte |
kai.Time since the component process started. | gauge | second |
kai.Virtual memory size of the component process. | gauge | byte |
kai.Maximum virtual memory available to the component process. | gauge | byte |
kai.Resources currently allocated to the queue. Resource: CPU. | gauge | core |
kai.Resources currently allocated to the queue. Resource: GPU. | gauge | device |
kai.Resources currently allocated to the queue. Resource: memory. | gauge | byte |
kai.Fair share of the queue computed by the scheduler in its last cycle. Resource: CPU. | gauge | core |
kai.Fair share of the queue computed by the scheduler in its last cycle. Resource: GPU. | gauge | device |
kai.Fair share of the queue computed by the scheduler in its last cycle. Resource: memory. | gauge | byte |
kai.Always 1 for each queue known to the queue-controller. | gauge | - |
kai.Quota of the queue, from spec.resources. -1 means unlimited. Resource: CPU. | gauge | core |
kai.Quota of the queue, from spec.resources. -1 means unlimited. Resource: GPU. | gauge | device |
kai.Quota of the queue, from spec.resources. -1 means unlimited. Resource: memory. | gauge | byte |
kai.Historical usage of the queue reported by the UsageDB. Units depend on the UsageDB configuration, and the value is 0 without one. Resource: CPU. | gauge | - |
kai.Historical usage of the queue reported by the UsageDB. Units depend on the UsageDB configuration, and the value is 0 without one. Resource: GPU. | gauge | - |
kai.Historical usage of the queue reported by the UsageDB. Units depend on the UsageDB configuration, and the value is 0 without one. Resource: memory. | gauge | - |
kai.Configured scenario search budget per action. 0 means unlimited. | gauge | second |
kai.Configured scenario search budget per generator. 0 means unlimited. | gauge | second |
kai.Configured scenario search budget per job. 0 means unlimited. | gauge | second |
kai.Number of times an action exhausted its scenario search budget. | count | event |
kai.Duration of bounded scenario search attempts per generator, in seconds. | gauge | second |
kai.Duration of bounded scenario search attempts per generator, in seconds. Number of observations. | count | - |
kai.Duration of bounded scenario search attempts per generator, in seconds. Sum of observations. | count | second |
kai.Number of jobs considered by bounded scenario search, by action, result and whether the budget was reduced. | count | job |
kai.Number of bounded search scenarios, by action, generator and state. | count | - |
kai.Duration of the last full scheduling cycle, including all actions and binding. | gauge | millisecond |
kai.Duration of the last session close, including plugin cleanup. | gauge | millisecond |
kai.Duration of the last session open, including cluster snapshot and plugin initialization. | gauge | millisecond |
kai.Time the binder takes to bind a pod, including bind request creation, in milliseconds. | gauge | millisecond |
kai.Time the binder takes to bind a pod, including bind request creation, in milliseconds. Number of observations. | count | - |
kai.Time the binder takes to bind a pod, including bind request creation, in milliseconds. Sum of observations. | count | millisecond |
kai.Time from pod creation until the scheduler attempts to bind it, in milliseconds. | gauge | millisecond |
kai.Time from pod creation until the scheduler attempts to bind it, in milliseconds. Number of observations. | count | - |
kai.Time from pod creation until the scheduler attempts to bind it, in milliseconds. Sum of observations. | count | millisecond |
kai.Latency of UsageDB queries, in milliseconds. Only reported when a UsageDB is configured. | gauge | millisecond |
kai.Latency of UsageDB queries, in milliseconds. Only reported when a UsageDB is configured. Number of observations. | count | - |
kai.Latency of UsageDB queries, in milliseconds. Only reported when a UsageDB is configured. Sum of observations. | count | millisecond |
kai.Number of items added to the work queue, per queue. | count | - |
kai.Number of items waiting in the work queue, per queue. | gauge | - |
kai.How long the longest-running item in the work queue has been processed, per queue. | gauge | second |
kai.Distribution of the time items wait in the work queue before being processed, per queue. | gauge | second |
kai.Number of items taken from the work queue, per queue. | count | - |
kai.Total time items waited in the work queue before being processed, per queue. | count | second |
kai.Number of items requeued for a retry, per queue. | count | - |
kai.Time spent on items still being processed, per queue. Large values indicate stuck workers. | gauge | second |
kai.Distribution of the time taken to process a work queue item, per queue. | gauge | second |
kai.Number of work queue items processed, per queue. | count | - |
kai.Total time spent processing work queue items, per queue. | count | second |
Official documentation
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.