envoyproxy / envoyproxy/envoy

Add CustomTag (metadata) access logger formatters

Open
#14,885 2 comments 0 reactions 0 assignees View on GitHub
area/access_log help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

Description

*Title*: Add [CustomTag.Metadata](https://www.envoyproxy.io/docs/envoy/latest/api-v3/type/tracing/v3/custom_tag.proto#envoy-v3-api-msg-type-tracing-v3-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](https://www.envoyproxy.io/docs/envoy/latest/api-v3/type/metadata/v3/metadata.proto#envoy-v3-api-msg-type-metadata-v3-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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.