Tapper v0.3.3 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

Configuration

keypurposedefault/required
collector_urlFull URL of Zipkin collector endpoint[1]Required
client_optsadditional options for HTTPoison client, see HTTPoison.Base.request/5ssl: [{: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.

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