RetryTimeoutPolicy

Proto: retry_timeout_policy.proto

Package: resilience.policy.gloo.solo.io

Types:

RetryTimeoutPolicyReport

Field Description
workspaces (repeated RetryTimeoutPolicyReport.WorkspacesEntry)

A list of workspaces in which the policy can apply to workloads.
selectedRoutes (repeated common.gloo.solo.io.RouteReference)

A list of references to all routes selected by the policy.

RetryTimeoutPolicyReport.WorkspacesEntry

Field Description
key (string)

value (common.gloo.solo.io.Report)

RetryTimeoutPolicySpec

RetryTimeoutPolicy is used to add automatic retries and timeouts to requests matching selected routes. RetryTimeoutPolicies are applied at the Route level.

Field Description
applyToRoutes (repeated common.gloo.solo.io.RouteSelector)

Routes to apply the policy to. If empty, the policy applies to all workloads in the workspace.
config (RetryTimeoutPolicySpec.Config)

The details of the retry/timeout policy to apply to the selected routes.

RetryTimeoutPolicySpec.Config

Field Description
retries (RetryTimeoutPolicySpec.Config.RetryPolicy)

Set a retry policy on requests matched on the selected routes.
requestTimeout (google.protobuf.Duration)

Set a timeout on requests matched on the selected routes. For information about the value format, see the Google protocol buffer documentation.

RetryTimeoutPolicySpec.Config.RetryPolicy

Specify retries for failed requests.

Field Description
attempts (google.protobuf.Int32Value)

Number of retries for a given request The interval between retries will be determined automatically (25ms+). When request timeout of the HTTP route or per_try_timeout is configured, the actual number of retries attempted also depends on the specified request timeout and per_try_timeout values. Defaults to 2 retries. For information about the value format, see the Google protocol buffer documentation.
perTryTimeout (google.protobuf.Duration)

Timeout per retry attempt for a given request. Format: 1h/1m/1s/1ms. Must be >= 1ms. Default is same value as request timeout of the HTTP route, which means no timeout. For information about the value format, see the Google protocol buffer documentation.
retryOn (string)

Specifies the conditions under which retry takes place. One or more policies can be specified using a ‘,’ delimited list. If retry_on specifies a valid HTTP status, it will be added to retriable_status_codes retry policy. See the retry policies and gRPC retry policies for more details.
retryRemoteLocalities (google.protobuf.BoolValue)

Flag to specify whether the retries should retry to other localities. See the retry plugin configuration for more details. Defaults to false.

RetryTimeoutPolicyStatus

The status of the policy after it is applied to your Gloo environment.

Field Description
common (common.gloo.solo.io.Status)

The state and workspace conditions of the applied resource.
numSelectedRoutes (uint32)

The number of routes selected by the policy.