envoy icon indicating copy to clipboard operation
envoy copied to clipboard

Does %RESPONSE_DURATION% include duration for ext_authz filter

Open hanyu-liu opened this issue 7 years ago • 4 comments

A quick question. In the document, %RESPONSE_DURATION% is Total duration in milliseconds of the request from the start time to the first byte read from the upstream host.

Can I know if it is the total duration of all upstreams, including the ext_authz filter? Or is it just the duration of upstream in the routing part?

https://www.envoyproxy.io/docs/envoy/latest/configuration/access_log

Thanks.

hanyu-liu avatar Mar 28 '19 17:03 hanyu-liu

IIRC it's just the upstream routing part. cc @snowp @mpuncel

mattklein123 avatar Apr 01 '19 19:04 mattklein123

Yeah the duration is tracked by the router filter, so work done in previous filters will not be included.

snowp avatar Apr 01 '19 21:04 snowp

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] avatar May 01 '19 21:05 stale[bot]

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

stale[bot] avatar May 08 '19 22:05 stale[bot]