GrpcRetryPolicy
¶
Source code in docs_src/capo_app_mesh/types/grpc_retry_policy.py
grpc_retry_events
instance-attribute
¶
grpc_retry_events: NotRequired[GrpcRetryPolicyEvents]
Specify at least one of the valid values.
http_retry_events
instance-attribute
¶
http_retry_events: NotRequired[HttpRetryPolicyEvents]
Specify at least one of the following values.
-
server-error – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, and 511
-
gateway-error – HTTP status codes 502, 503, and 504
-
client-error – HTTP status code 409
-
stream-error – Retry on refused stream
per_retry_timeout
instance-attribute
¶
per_retry_timeout: Duration
The timeout for each retry attempt.
tcp_retry_events
instance-attribute
¶
tcp_retry_events: NotRequired[TcpRetryPolicyEvents]
Specify a valid value. The event occurs before any processing of a request has started and is encountered when the upstream is temporarily or permanently unavailable.