Tapper v0.3.2 Tapper.Encoder.Json View Source

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

Link to this section Summary

Link to this section Functions

Link to this function encode!(list) View Source
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
Link to this function encode_annotation(annotation) View Source
Link to this function encode_annotations(map, span) View Source
Link to this function encode_binary_annotation(binary_annotation) View Source
Link to this function encode_binary_annotation_type(annotation, type) View Source
Link to this function encode_binary_annotation_value(type, value) View Source
Link to this function encode_binary_annotations(map, span) View Source
Link to this function encode_endpoint(endpoint) View Source
Link to this function encode_parent_id(map, span) View Source
Link to this function encode_span_id(map, span) View Source
Link to this function encode_trace_id(map, span) View Source