retries.proto
Package: retries.options.gloo.solo.io
Types:
Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/retries/retries.proto
RetryBackOff
This specifies the retry policy interval for backoffs. Note that if the base interval provided is larger than the maximum interval OR if any of the durations passed are <= 0 MS, there will be an error.
"baseInterval": .google.protobuf.Duration
"maxInterval": .google.protobuf.Duration
Field | Type | Description |
---|---|---|
baseInterval |
.google.protobuf.Duration | Specifies the base interval for a retry. |
maxInterval |
.google.protobuf.Duration | Specifies the max interval for a retry. |
RetryPolicy
Retry Policy applied at the Route and/or Virtual Hosts levels.
"retryOn": string
"numRetries": int
"perTryTimeout": .google.protobuf.Duration
"retryBackOff": .retries.options.gloo.solo.io.RetryBackOff
"previousPriorities": .retries.options.gloo.solo.io.RetryPolicy.PreviousPriorities
"retriableStatusCodes": []int
Field | Type | Description |
---|---|---|
retryOn |
string |
Specifies the conditions under which retry takes place. These are the same conditions documented for Envoy. |
numRetries |
int |
Specifies the allowed number of retries. This parameter is optional and defaults to 1. These are the same conditions documented for Envoy. |
perTryTimeout |
.google.protobuf.Duration | Specifies a non-zero upstream timeout per retry attempt. This parameter is optional. |
retryBackOff |
.retries.options.gloo.solo.io.RetryBackOff | Specifies the retry policy interval. |
previousPriorities |
.retries.options.gloo.solo.io.RetryPolicy.PreviousPriorities | Specify the previous priorities. For more information about previous priorities, see the Envoy docs. |
retriableStatusCodes |
[]int |
Optional: HTTP status codes that should trigger a retry in addition to those specified by retry_on. This can be useful if you want to retry on a status code that is not in the retry_on list. Specifically those in the 4xx range. |
PreviousPriorities
"updateFrequency": .google.protobuf.UInt32Value
Field | Type | Description |
---|---|---|
updateFrequency |
.google.protobuf.UInt32Value | Specify the update frequency for the previous priorities. For more information about previous priorities, see the Envoy docs. This option only works in combination with an Upstream failover policy that enables priorities. |