Utilities for OpenTelemetry SDK exporters.
Utilities for OpenTelemetry SDK exporters.
(retry-policy)
(retry-policy {:keys [max-attempts initial-backoff max-backoff
backoff-multiplier]})
Builds and returns a RetryPolicy
object. May take an option map as
follows:
key | description |
---|---|
:max-attempts | Maximum number of attempts, including the original request. Must be in range 1 to 5 inclusive (default: 5). |
:initial-backoff | Initial backoff duration. Must be greater than 0. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 1s). |
:max-backoff | Maximum backoff duration. Must be greater than 0. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 5s). |
:backoff-multiplier | Backoff multiplier, as a double . Must be greater than 0.0 (default: 1.5). |
Builds and returns a `RetryPolicy` object. May take an option map as follows: | key | description | |---------------------|-------------| |`:max-attempts` | Maximum number of attempts, including the original request. Must be in range 1 to 5 inclusive (default: 5). |`:initial-backoff` | Initial backoff duration. Must be greater than 0. Value is either a `Duration` or a vector `[amount ^TimeUnit unit]` (default: 1s). |`:max-backoff` | Maximum backoff duration. Must be greater than 0. Value is either a `Duration` or a vector `[amount ^TimeUnit unit]` (default: 5s). |`:backoff-multiplier`| Backoff multiplier, as a `double`. Must be greater than 0.0 (default: 1.5).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close