Documentation ¶
Overview ¶
The metrics package defines controller runtime metrics
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { // UncompletedReconcileTs is a sorted slice of start timestamps from the currently running reconcile loops // This can be used to calculate stats such as - shortest running reconcile, longest running reconcile, mean time UncompletedReconcileTs []int64 // QueueLength is the number of unprocessed messages in the queue QueueLength int // MeanCompletionTime gives the average reconcile time over the past 10m // TODO: Implement this MeanReconcileTime int // ReconcileRate gives the average reconcile rate over the past 10m // TODO: Implement this ReconcileRate int // QueueLength is the average queue length over the past 10m // TODO: Implement this MeanQueueLength int }
Metrics contains runtime metrics about the controller
Click to show internal directories.
Click to hide internal directories.