Tapper v0.2.0 Tapper.Encoder.Json

Encode protocol spans to JSON suitable for sending to Zipkin Server API

Summary

Functions

add_ipv4(map, ipv4)
add_ipv6(map, ipv6)
add_port(map, port)
encode(span)
encode!(list)
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
encode_annotation(annotation)
encode_annotations(map, span)
encode_binary_annotation(binary_annotation)
encode_binary_annotation_type(annotation, type)
encode_binary_annotation_value(type, value)
encode_binary_annotations(map, span)
encode_endpoint(endpoint)
encode_parent_id(map, span)
encode_span_id(map, span)
encode_trace_id(map, span)