Router

Router configuration overview.

config.filter.http.router.v2.Router

[config.filter.http.router.v2.Router proto]

{
  "dynamic_stats": "{...}",
  "start_child_span": "...",
  "upstream_log": [],
  "suppress_envoy_headers": "..."
}
dynamic_stats
(BoolValue) Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
start_child_span
(bool) Whether to start a child span for egress routed calls. This can be useful in scenarios where other filters (auth, ratelimit, etc.) make outbound calls and have child spans rooted at the same ingress parent. Defaults to false.
upstream_log
(config.filter.accesslog.v2.AccessLog) Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
suppress_envoy_headers
(bool) Do not add any additional x-envoy- headers to requests or responses. This only affects the router filter generated *x-envoy-* headers, other Envoy filters and the HTTP connection manager may continue to set x-envoy- headers.