Expose time-series and access log metric to measure queueing latency at Envoy
Title: Expose time-series and access log metric to measure queueing latency at Envoy
Description: To better attribute and breakdown e2e latency and correctly tune Envoy, we find it important to understand the queueing latency at Envoy for requests and responses. This will help us find out the proportion of time that a request or response spent locally at Envoy, and how that compares to the e2e latency.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
There are several duration access log such as: %DURATION% %REQUEST_DURATION% %RESPONSE_DURATION% ...
Hi Zhangbo, thanks for the quick reply!
According to this, %DURATION% measures
Total duration in milliseconds of the request from the start time to the last byte out.
IIUC, start time refers to the time the first byte the request is received from downstream. If that's the case, it seems that I can compute queueing latency for a request with
%DURATION% - %REQUEST_DURATION% - %REQUEST_TX_DURATION%
Is there a time-series equivalent of this?
Is there a time-series equivalent of this?
Not to my knowledge. I think this is something we could think about adding.
/assign @agrawroh