# Functions
No description provided by the author
GetQueueCounts issues an RPC call to get the queue counts from the given hostAndPort.
NewQueueCounts creates a new empty QueueCounts struct.
No description provided by the author
NewMemoryQueue creates a new empty in-memory queue.
NewRequestsBuckets generates a new RequestsBuckets with the given granularity.
# Structs
No description provided by the author
Count is a snapshot of the HTTP pending request (Concurrency) count and RPS for each host.
No description provided by the author
No description provided by the author
No description provided by the author
Memory is a Counter implementation that holds the HTTP queue in memory only.
RequestsBuckets keeps buckets that have been collected at a certain time.
# Interfaces
QueueCounter represents a virtual HTTP queue, possibly distributed across multiple HTTP server processes.
CountReader represents the size of a virtual HTTP queue, possibly distributed across multiple HTTP server processes.