envoyproxy/envoy

Add CustomTag (metadata) access logger formatters

Open

#14,885 opened on Jan 31, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/access_loghelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Title: Add CustomTag.Metadata access logger formatters.

Description: Existing access log formatters only support DYNAMIC_METADATA, but it would be helpful if they could also access request/route/cluster/host metadata (see CustomTag.MetadataKind).

[optional Relevant Links:] Existing formatters - https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage CustomTags (used in Tracing) - https://www.envoyproxy.io/docs/envoy/latest/api-v3/type/tracing/v3/custom_tag.proto#envoy-v3-api-msg-type-tracing-v3-customtag-metadata

@omriz @htuch

Contributor guide