envoyproxy/envoy

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

Open

#13.100 geöffnet am 15. Sept. 2020

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/access_logenhancementhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide