rds: rename shadowing to request mirroring. (#53)

This was a clarification suggested by @amb67, since traffic mirroring is a well known term but shadowing less so.
pull/54/head
htuch 8 years ago committed by GitHub
parent 7e3dacd261
commit 3201cdc4a0
  1. 16
      api/rds.proto

@ -168,20 +168,20 @@ message ForwardAction {
// Indicates that the route has a retry policy.
RetryPolicy retry_policy = 8;
// Indicates that the route has a shadow policy.
message ShadowPolicy {
// Specifies the cluster that requests will be shadowed to. The cluster must
// Indicates that the route has a request mirroring policy.
message RequestMirrorPolicy {
// Specifies the cluster that requests will be mirrored to. The cluster must
// exist in the cluster manager configuration.
string cluster = 1;
// If not specified, all requests to the target cluster will be shadowed. If
// If not specified, all requests to the target cluster will be mirrored. If
// specified, Envoy will lookup the runtime key to get the % of requests to
// shadow. Valid values are from 0 to 10000, allowing for increments of
// 0.01% of requests to be shadowed. If the runtime key is specified in the
// mirror. Valid values are from 0 to 10000, allowing for increments of
// 0.01% of requests to be mirrored. If the runtime key is specified in the
// configuration but not present in runtime, 0 is the default and thus 0% of
// requests will be shadowed.
// requests will be mirrored.
string runtime_key = 2;
}
ShadowPolicy shadow_policy = 9;
RequestMirrorPolicy request_mirror_policy = 9;
RoutingPriority priority = 10;

Loading…
Cancel
Save