Tapper v0.3.1 Tapper.Reporter.Zipkin View Source
Reporter that sends spans to Zipkin Server API.
- Currently supports only JSON encoding.
- Does not batch spans: would probably be done with an intermediate.
See also
Tapper.Application
- reporter selection, alsoTapper.start/1
,Tapper.join/6
viareporter
option.Tapper.Reporter.Api
- the implemented behaviour.
Configuration
key | purpose | default/required |
---|---|---|
collector_url | Full URL of Zipkin collector endpoint[1] | Required |
client_opts | additional options for HTTPoison client, see HTTPoison.Base.request/5 | 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]
[1] Tapper uses the DeferredConfig
library to
resolve all configuration under the :tapper
key, so see its documention for options.
Link to this section Summary
Link to this section Functions
Ingest a list of %Tapper.Protocol.Span{}
Callback implementation for Tapper.Reporter.Api.ingest/1
.