Tapper v0.6.0 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/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
Link to this function
config() View Source
Link to this function
ingest(spans) View Source
Ingest a list of %Tapper.Protocol.Span{}
Callback implementation for Tapper.Reporter.Api.ingest/1
.
Link to this function
process_request_body(spans) View Source
Link to this function
process_request_headers(headers) View Source
Link to this function
process_request_options(options) View Source
Link to this function
url()
View Source
url()
View Source
url() :: String.t()
url() :: String.t()