envoyproxy/envoy

access log: add a new response flag to indicate request handled locally by Envoy

Open

#13,100 创建于 2020年9月15日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
area/access_logenhancementhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

Title: access log: add a new response flag to indicate request handled locally by Envoy

Description: This is started from the discussion in https://github.com/envoyproxy/envoy/pull/12912#discussion_r490613876 that we could have a more general way to indicate that the request is handled locally by Envoy (sendLocalReply) instead of by upstream.

The response flag could be RESPONDED_BY_FILTER and deprecates the other response_from_cache_filter. The RESPONSE_CODE_DETAIL can be used to learn more details.

cc @htuch

[optional Relevant Links:]

Any extra documentation required to understand the issue.

贡献者指南