Proto: retry_timeout_policy.proto

Package: resilience.policy.gloo.solo.io

Types:

RetryTimeoutPolicyReport

FieldDescription
workspaces(repeated RetryTimeoutPolicyReport.WorkspacesEntry)

selectedRoutes(repeated common.gloo.solo.io.RouteReference)

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

RetryTimeoutPolicyReport.WorkspacesEntry

FieldDescription
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.

FieldDescription
applyToRoutes(repeated common.gloo.solo.io.RouteSelector)

select the routes where the policy will be applied if left empty, will apply to all routes in the workspace.
config(RetryTimeoutPolicySpec.Config)

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

RetryTimeoutPolicySpec.Config

FieldDescription
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.

FieldDescription
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

reflects the status of the RetryTimeoutPolicy

FieldDescription
common(common.gloo.solo.io.Status)

numSelectedRoutes(uint32)

The number of routes selected by the policy.