@ -21,11 +21,20 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
/ / Router : ref : ` configuration overview < config_http_filters_router > ` .
/ / Router : ref : ` configuration overview < config_http_filters_router > ` .
/ / [ # extension : envoy.filters.http.router ]
/ / [ # extension : envoy.filters.http.router ]
/ / [ # next - free - field : 9 ]
/ / [ # next - free - field : 10 ]
message Router {
message Router {
option ( udpa.annotations.versioning ) . previous_message_type =
option ( udpa.annotations.versioning ) . previous_message_type =
"envoy.config.filter.http.router.v2.Router" ;
"envoy.config.filter.http.router.v2.Router" ;
message UpstreamAccessLogOptions {
/ / If set to true , an upstream access log will be recorded when an upstream stream is
/ / associated to an http request. Note : Each HTTP request received for an already established
/ / connection will result in an upstream access log record. This includes , for example ,
/ / consecutive HTTP requests over the same connection or a request that is retried.
/ / In case a retry is applied , an upstream access log will be recorded for each retry.
bool flush_upstream_log_on_upstream_stream = 1 ;
}
/ / Whether the router generates dynamic cluster statistics. Defaults to
/ / Whether the router generates dynamic cluster statistics. Defaults to
/ / true . Can be disabled in high performance scenarios.
/ / true . Can be disabled in high performance scenarios.
google.protobuf.BoolValue dynamic_stats = 1 ;
google.protobuf.BoolValue dynamic_stats = 1 ;
@ -42,6 +51,9 @@ message Router {
/ / requests may be made for each downstream ( inbound ) request.
/ / requests may be made for each downstream ( inbound ) request.
repeated config.accesslog.v3.AccessLog upstream_log = 3 ;
repeated config.accesslog.v3.AccessLog upstream_log = 3 ;
/ / Additional upstream access log options.
UpstreamAccessLogOptions upstream_log_options = 9 ;
/ / Do not add any additional ` ` x - envoy - ` ` headers to requests or responses. This
/ / Do not add any additional ` ` x - envoy - ` ` headers to requests or responses. This
/ / only affects the : ref : ` router filter generated x - envoy - headers
/ / only affects the : ref : ` router filter generated x - envoy - headers
/ / < config_http_filters_router_headers_set > ` , other Envoy filters and the HTTP
/ / < config_http_filters_router_headers_set > ` , other Envoy filters and the HTTP