tracing: add option to choice mutation policy for RequestID extension (#16770)

Signed-off-by: Shikugawa <rei@tetrate.io>

Mirrored from https://github.com/envoyproxy/envoy @ 9170b3e6cd110c0fd4aea1fdbb683d8dd9e284fc
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent 253bc0a196
commit a828423f57
  1. 5
      envoy/extensions/request_id/uuid/v3/uuid.proto

@ -40,4 +40,9 @@ message UuidRequestIdConfig {
// stable sampling of traces, access logs, etc. will no longer work and only random sampling will
// be possible.
google.protobuf.BoolValue pack_trace_reason = 1;
// Set whether to use :ref:`x-request-id<config_http_conn_man_headers_x-request-id>` for sampling or not.
// This defaults to true. See the :ref:`context propagation <arch_overview_tracing_context_propagation>`
// overview for more information.
google.protobuf.BoolValue use_request_id_for_trace_sampling = 2;
}

Loading…
Cancel
Save