NAME
OpenTracing::Protocol::Zipkin - support for Zipkin v2 JSON representation of OpenTracing data
DESCRIPTION
See https://zipkin.io/zipkin-api/#/default/post_spans for details on the current format.
bytes_from_span
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 IDtraceId
- the trace IDparentId
- this trace's parent IDlocalEndpoint
- where this span was runningremoteEndpoint
- the remote connection that this span was involved withannotations
- any timestamp annotations relating to this spantags
- any key/value pairs relating to this span
span_from_bytes
Takes a bytestring containing UTF-8-encoded JSON data, and returns a Perl hashref representing a span.
AUTHOR
Tom Molesworth <TEAM@cpan.org>
LICENSE
Copyright Tom Molesworth 2018-2021. Licensed under the same terms as Perl itself.
1;