OpenTracing::Protocol::Zipkin - support for Zipkin v2 JSON representation of OpenTracing data
See https://zipkin.io/zipkin-api/#/default/post_spans for details on the current format.
Returns the given data structure as a bytestream containing a JSON UTF-8 representation, as defined by Zipkin, Datadog and other providers.
The resulting JSON will have at most the following keys:
id- the span ID
traceId- the trace ID
parentId- this trace's parent ID
localEndpoint- where this span was running
remoteEndpoint- the remote connection that this span was involved with
annotations- any timestamp annotations relating to this span
tags- any key/value pairs relating to this span
Takes a bytestring containing UTF-8-encoded JSON data, and returns a Perl hashref representing a span.
Copyright Tom Molesworth 2018-2020. Licensed under the same terms as Perl itself.