Span data exporter to Zipkin.
Span data exporter to Zipkin.
(span-exporter)(span-exporter {:keys [endpoint read-timeout sender encoder]})Returns a span exporter that sends span data using the
io.zipkin.reporter2:zipkin-reporter
library. May take an option map as follows:
| key | description | 
|---|---|
| :endpoint | With the default sender, Zipkin endpoint e.g. "http://zipkinhost:9411/api/v2/spans"(default:"http://localhost:9411/api/v2/spans"). | 
| :read-timeout | With the default sender, maximum time to wait for export of a batch of spans. Value is either a Durationor a vector[amount ^TimeUnit unit](default: 10s). | 
| :sender | zipkin2.reporter.Senderused to send span data (default:OkHttpSenderinstance with:endpointand:read-timeoutconfig). | 
| :encoder | zipkin2.codec.BytesEncoderFormat used to send span data (default:SpanBytesEncoder/JSON_V2). | 
Returns a span exporter that sends span data using the [`io.zipkin.reporter2:zipkin-reporter`](https://github.com/openzipkin/zipkin-reporter-java) library. May take an option map as follows: | key | description | |---------------|-------------| |`:endpoint` | With the default sender, Zipkin endpoint e.g. `"http://zipkinhost:9411/api/v2/spans"` (default: `"http://localhost:9411/api/v2/spans"`). |`:read-timeout`| With the default sender, maximum time to wait for export of a batch of spans. Value is either a `Duration` or a vector `[amount ^TimeUnit unit]` (default: 10s). |`:sender` | `zipkin2.reporter.Sender` used to send span data (default: `OkHttpSender` instance with `:endpoint` and `:read-timeout` config). |`:encoder` | `zipkin2.codec.BytesEncoder` Format used to send span data (default: `SpanBytesEncoder/JSON_V2`).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |