Liking cljdoc? Tell your friends :D
Clojure only.

steffan-westcott.clj-otel.sdk.export

Utilities for OpenTelemetry SDK exporters.

Utilities for OpenTelemetry SDK exporters.
raw docstring

retry-policyclj

(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:

keydescription
:max-attemptsMaximum number of attempts, including the original request. Must be in range 1 to 5 inclusive (default: 5).
:initial-backoffInitial backoff duration. Must be greater than 0. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 1s).
:max-backoffMaximum backoff duration. Must be greater than 0. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 5s).
:backoff-multiplierBackoff 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).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close