Tapper v0.6.2 Tapper.Reporter.Zipkin View Source
Reporter that sends spans to Zipkin Server API.
- Currently supports only JSON encoding.
- Use AsyncReporter with this module as a sender to send spans in batches
See also
Tapper.Application- reporter selection, alsoTapper.start/1,Tapper.join/6viareporteroption.Tapper.Reporter.Api- the implemented behaviour.
Configuration
| key | purpose | default/required |
|---|---|---|
collector_url | Full URL of Zipkin collector endpoint<sup>[1]</sup> | Required |
client_opts | HTTPoison.Base.request/5 client, see HTTPoisonadditional options for | ssl: [{:versions, [:'tlsv1.2']}], hackney: [pool: __MODULE__] |
e.g.
config :tapper, Tapper.Reporter.Zipkin,
collector_url: "https://my-zipkin.domain.com:9411/api/v1/spans"
client_opts: [timeout: 10000]<sup>[1]</sup> Tapper uses the DeferredConfig library to
resolve all configuration under the :tapper key, so see its documention for options.