package metrics
import "k8s.io/apiserver/pkg/util/flowcontrol/metrics"
Index ¶
- func AddReject(priorityLevel string, reason string)
- func ObserveExecutionDuration(priorityLevel, flowSchema string, executionTime time.Duration)
- func ObserveQueueLength(priorityLevel string, length int)
- func ObserveWaitingDuration(priorityLevel, flowSchema, execute string, waitTime time.Duration)
- func UpdateFlowControlRequestsExecuting(priorityLevel string, executing int)
- func UpdateFlowControlRequestsInQueue(priorityLevel string, inqueue int)
- func UpdateSharedConcurrencyLimit(priorityLevel string, limit int)
Functions ¶
func AddReject ¶
AddReject increments the # of rejected requests for flow control
func ObserveExecutionDuration ¶
ObserveExecutionDuration observes the execution duration for flow control
func ObserveQueueLength ¶
ObserveQueueLength observes the queue length for flow control
func ObserveWaitingDuration ¶
ObserveWaitingDuration observes the queue length for flow control
func UpdateFlowControlRequestsExecuting ¶
UpdateFlowControlRequestsExecuting updates the value for the # of requests executing in flow control
func UpdateFlowControlRequestsInQueue ¶
UpdateFlowControlRequestsInQueue updates the value for the # of requests in the specified queues in flow control
func UpdateSharedConcurrencyLimit ¶
UpdateSharedConcurrencyLimit updates the value for the concurrency limit in flow control
Source Files ¶
metrics.go
- Version
- v0.17.3-beta.0
- Published
- Jan 21, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 21 seconds ago –
Tools for package owners.