From 9b317518cd39e366a2fb84525d4deec7d7903228 Mon Sep 17 00:00:00 2001 From: "data-plane-api(CircleCI)" Date: Thu, 26 Apr 2018 20:35:30 +0000 Subject: [PATCH] Access log trailers (#3187) Signed-off-by: Alexey Baranov Mirrored from https://github.com/envoyproxy/envoy @ ead0de979c339f2dfb209ebdd1c93ee1ef7c7d74 --- envoy/config/accesslog/v2/als.proto | 3 +++ envoy/config/filter/accesslog/v2/accesslog.proto | 3 +++ 2 files changed, 6 insertions(+) diff --git a/envoy/config/accesslog/v2/als.proto b/envoy/config/accesslog/v2/als.proto index 305e7860..92b6d365 100644 --- a/envoy/config/accesslog/v2/als.proto +++ b/envoy/config/accesslog/v2/als.proto @@ -27,6 +27,9 @@ message HttpGrpcAccessLogConfig { // Additional response headers to log in *HTTPResponseProperties.response_headers*. repeated string additional_response_headers_to_log = 3; + + // Additional response trailers to log in *HTTPResponseProperties.response_trailers*. + repeated string additional_response_trailers_to_log = 4; } // Common configuration for gRPC access logs. diff --git a/envoy/config/filter/accesslog/v2/accesslog.proto b/envoy/config/filter/accesslog/v2/accesslog.proto index b4d125e9..6c883774 100644 --- a/envoy/config/filter/accesslog/v2/accesslog.proto +++ b/envoy/config/filter/accesslog/v2/accesslog.proto @@ -269,6 +269,9 @@ message HTTPResponseProperties { // Map of additional headers configured to be logged. map response_headers = 4; + + // Map of trailers configured to be logged. + map response_trailers = 5; } // [#not-implemented-hide:] Not configuration. TBD how to doc proto APIs.