Tapper v0.6.2 Tapper.Encoder.Json View Source
Encode protocol spans to JSON suitable for sending to V1 Zipkin Server API.
V1 - zipkin-api.yaml
Link to this section Summary
Link to this section Functions
Specs
encode!([
%Tapper.Protocol.Span{
annotations: term(),
binary_annotations: term(),
debug: term(),
duration: term(),
id: term(),
name: term(),
parent_id: term(),
timestamp: term(),
trace_id: term()
}
]) :: iodata() | no_return()
encode!(%Tapper.Protocol.Span{
annotations: term(),
binary_annotations: term(),
debug: term(),
duration: term(),
id: term(),
name: term(),
parent_id: term(),
timestamp: term(),
trace_id: term()
}) :: iodata() | no_return()