Liking cljdoc? Tell your friends :D

steffan-westcott.clj-otel.sdk.jaeger-remote-sampler

Sampler that implements Jaeger remote sampler type.

`Sampler` that implements Jaeger remote sampler type.
raw docstring

jaeger-remote-samplerclj

(jaeger-remote-sampler {:keys [service-name endpoint trusted-certificates-pem
                               client-private-key-pem client-certificates-pem
                               ssl-context x509-trust-manager polling-interval
                               initial-sampler]})

Returns a JaegerRemoteSampler, a sampler that periodically obtains configuration from a remote Jaeger server. Takes an option map as follows:

keydescription
:service-nameService name to be used by this sampler, required.
:endpointJaeger endpoint to connect to (default: "localhost:14250").
:trusted-certificates-pem^bytes X.509 certificate chain in PEM format for verifying servers when TLS enabled (default: system default trusted certificates).
:client-private-key-pem^bytes private key in PEM format for verifying client when TLS enabled.
:client-certificates-pem^bytes X.509 certificate chain in PEM format for verifying client when TLS enabled.
:ssl-context^SSLContext "bring your own SSLContext" alternative to setting certificate bytes when using TLS.
:x509-trust-manager^X509TrustManager "bring your own SSLContext" alternative to setting certificate bytes when using TLS.
:polling-intervalPolling interval for configuration updates. Value is either a Duration or a vector [amount ^TimeUnit unit] (default: 60s).
:initial-samplerInitial sampler that is used before sampling configuration is obtained (default: {:parent-based {:root {:ratio 0.001}}}).
Returns a `JaegerRemoteSampler`, a sampler that periodically obtains
configuration from a remote Jaeger server. Takes an option map as follows:

| key                       | description |
|---------------------------|-------------|
|`:service-name`            | Service name to be used by this sampler, required.
|`:endpoint`                | Jaeger endpoint to connect to (default: `"localhost:14250"`).
|`:trusted-certificates-pem`| `^bytes` X.509 certificate chain in PEM format for verifying servers when TLS enabled (default: system default trusted certificates).
|`:client-private-key-pem`  | `^bytes` private key in PEM format for verifying client when TLS enabled.
|`:client-certificates-pem` | `^bytes` X.509 certificate chain in PEM format for verifying client when TLS enabled.
|`:ssl-context`             | `^SSLContext` "bring your own SSLContext" alternative to setting certificate bytes when using TLS.
|`:x509-trust-manager`      | `^X509TrustManager` "bring your own SSLContext" alternative to setting certificate bytes when using TLS.
|`:polling-interval`        | Polling interval for configuration updates. Value is either a `Duration` or a vector `[amount ^TimeUnit unit]` (default: 60s).
|`:initial-sampler`         | Initial sampler that is used before sampling configuration is obtained (default: `{:parent-based {:root {:ratio 0.001}}}`).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close