Package:

fault.plugins.gloo.solo.io

Source File:

github.com/solo-io/gloo/projects/gloo/api/v1/plugins/faultinjection/fault.proto

Description:

TODO: this was copied form the transformation filter. TODO: instead of manually copying, we want to do it via script, similar to the java-control-plane TODO: to solo-kit/api/envoy

Contents:


RouteAbort

Description:

"percentage": float
"http_status": int

Field Type Description Default
percentage float Percentage of requests that should be aborted, defaulting to 0. This should be a value between 0.0 and 100.0, with up to 6 significant digits.
http_status int This should be a standard HTTP status, i.e. 503. Defaults to 0.

RouteDelay

Description:

"percentage": float
"fixed_delay": .google.protobuf.Duration

Field Type Description Default
percentage float Percentage of requests that should be delayed, defaulting to 0. This should be a value between 0.0 and 100.0, with up to 6 significant digits.
fixed_delay .google.protobuf.Duration Fixed delay, defaulting to 0.

RouteFaults

Description:

"abort": .fault.plugins.gloo.solo.io.RouteAbort
"delay": .fault.plugins.gloo.solo.io.RouteDelay

Field Type Description Default
abort .fault.plugins.gloo.solo.io.RouteAbort
delay .fault.plugins.gloo.solo.io.RouteDelay