metrics

package
v0.18.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddReject

func AddReject(priorityLevel string, reason string)

AddReject increments the # of rejected requests for flow control

func ObserveExecutionDuration

func ObserveExecutionDuration(priorityLevel, flowSchema string, executionTime time.Duration)

ObserveExecutionDuration observes the execution duration for flow control

func ObserveQueueLength

func ObserveQueueLength(priorityLevel string, length int)

ObserveQueueLength observes the queue length for flow control

func ObserveWaitingDuration

func ObserveWaitingDuration(priorityLevel, flowSchema, execute string, waitTime time.Duration)

ObserveWaitingDuration observes the queue length for flow control

func UpdateFlowControlRequestsExecuting

func UpdateFlowControlRequestsExecuting(priorityLevel string, executing int)

UpdateFlowControlRequestsExecuting updates the value for the # of requests executing in flow control

func UpdateFlowControlRequestsInQueue

func UpdateFlowControlRequestsInQueue(priorityLevel string, inqueue int)

UpdateFlowControlRequestsInQueue updates the value for the # of requests in the specified queues in flow control

func UpdateSharedConcurrencyLimit

func UpdateSharedConcurrencyLimit(priorityLevel string, limit int)

UpdateSharedConcurrencyLimit updates the value for the concurrency limit in flow control

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL