[filter]: Add option to disable fault filter stats that trace downstream server name (#16235)

Signed-off-by: chaoqin-li1123 <chaoqinli@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 38d1c1984f202a523e6ecf7c4da4b895bb7c9c93
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent 9fd82c37e8
commit 6f4dcdc743
  1. 8
      envoy/extensions/filters/http/fault/v3/fault.proto
  2. 8
      envoy/extensions/filters/http/fault/v4alpha/fault.proto

@ -54,7 +54,7 @@ message FaultAbort {
type.v3.FractionalPercent percentage = 3;
}
// [#next-free-field: 15]
// [#next-free-field: 16]
message HTTPFault {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.http.fault.v2.HTTPFault";
@ -141,4 +141,10 @@ message HTTPFault {
// The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
// runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
// To control whether stats storage is allocated dynamically for each downstream server.
// If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter.
// If set to false, dynamic stats storage will be allocated for the downstream cluster name.
// Default value is false.
bool disable_downstream_cluster_stats = 15;
}

@ -54,7 +54,7 @@ message FaultAbort {
type.v3.FractionalPercent percentage = 3;
}
// [#next-free-field: 15]
// [#next-free-field: 16]
message HTTPFault {
option (udpa.annotations.versioning).previous_message_type =
"envoy.extensions.filters.http.fault.v3.HTTPFault";
@ -141,4 +141,10 @@ message HTTPFault {
// The runtime key to override the :ref:`default <config_http_filters_fault_injection_runtime>`
// runtime. The default is: fault.http.abort.grpc_status
string abort_grpc_status_runtime = 14;
// To control whether stats storage is allocated dynamically for each downstream server.
// If set to true, "x-envoy-downstream-service-cluster" field of header will be ignored by this filter.
// If set to false, dynamic stats storage will be allocated for the downstream cluster name.
// Default value is false.
bool disable_downstream_cluster_stats = 15;
}

Loading…
Cancel
Save