Skip to main content

Module task_flow

Module task_flow 

Source
Expand description

GET /api/v1/metrics/tasks: the Metrics page’s throughput and start latency (decision 494), from the attempts table. A range’s final buckets are kept between requests, as the samples’ are (decision 492): each request reads only the buckets since the last final one.

Structs§

FlowCache
Each range’s kept buckets, one lock a range (a request reading it holds it, the next waits).
FlowEntry
A range’s kept buckets: those final when last read, of a range starting at kept_from.
FlowQuery
Which range.

Functions§

task_flow
The attempts of a range in buckets: how many ended, by how they ended, and the start latency of those started, as p50 and p95 (decision 494).