Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.sdk.export

Utilities for OpenTelemetry SDK exporters.

Utilities for OpenTelemetry SDK exporters.
raw docstring

proxy-optionsclj

(proxy-options {:keys [proxy-selector socket-address]})

Builds and returns a ProxyOptions object. Takes a map with one of the options defined:

keydescription
:proxy-selector^ProxySelector defines proxy selection.
:socket-address^InetSocketAddress specifies socket address of a single HTTP proxy.
Builds and returns a `ProxyOptions` object. Takes a map with one of the options defined:

| key               | description |
|-------------------|-------------|
|`:proxy-selector`  | ^ProxySelector defines proxy selection.
|`:socket-address`  | ^InetSocketAddress specifies socket address of a single HTTP proxy.
sourceraw 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