.. _envoy_api_file_envoy/config/filter/fault/v2/fault.proto: Common fault injection types ============================ .. _envoy_api_msg_config.filter.fault.v2.FaultDelay: config.filter.fault.v2.FaultDelay --------------------------------- `[config.filter.fault.v2.FaultDelay proto] `_ Delay specification is used to inject latency into the HTTP/gRPC/Mongo/Redis operation or delay proxying of TCP connections. .. code-block:: json { "type": "...", "fixed_delay": "{...}", "percentage": "{...}" } .. _envoy_api_field_config.filter.fault.v2.FaultDelay.type: type (:ref:`config.filter.fault.v2.FaultDelay.FaultDelayType `) Delay type to use (fixed|exponential|..). Currently, only fixed delay (step function) is supported. .. _envoy_api_field_config.filter.fault.v2.FaultDelay.fixed_delay: fixed_delay (`Duration `_, *REQUIRED*) Add a fixed delay before forwarding the operation upstream. See https://developers.google.com/protocol-buffers/docs/proto3#json for the JSON/YAML Duration mapping. For HTTP/Mongo/Redis, the specified delay will be injected before a new request/operation. For TCP connections, the proxying of the connection upstream will be delayed for the specified period. This is required if type is FIXED. .. _envoy_api_field_config.filter.fault.v2.FaultDelay.percentage: percentage (:ref:`type.FractionalPercent `) The percentage of operations/connection requests on which the delay will be injected. .. _envoy_api_enum_config.filter.fault.v2.FaultDelay.FaultDelayType: Enum config.filter.fault.v2.FaultDelay.FaultDelayType ----------------------------------------------------- `[config.filter.fault.v2.FaultDelay.FaultDelayType proto] `_ .. _envoy_api_enum_value_config.filter.fault.v2.FaultDelay.FaultDelayType.FIXED: FIXED *(DEFAULT)* ⁣Fixed delay (step function).