mirror of https://github.com/linkerd/linkerd2.git
Currently, the proxy records a request's latency as the time between when a request is opened and when its response stream completes. This is not what we intend to record, especially when a response is long-lived. In order to more accurate record latency, we want to track the time at which the first response body frame is received (which is a close approximation of time-to-first-byte). Telemetry aggregation has been changed to use the first-frame time to compute latencies; tests have been updated to exercise this behavior; and the metrics documentation has been updated to reflect this change. Addresses #818 Relates to #980 |
||
---|---|---|
.. | ||
record.rs |