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
id
traceId - the trace ID
traceId
parentId - this trace's parent ID
parentId
localEndpoint - where this span was running
localEndpoint
remoteEndpoint - the remote connection that this span was involved with
remoteEndpoint
annotations - any timestamp annotations relating to this span
annotations
tags - any key/value pairs relating to this span
tags
Takes a bytestring containing UTF-8-encoded JSON data, and returns a Perl hashref representing a span.
Tom Molesworth <TEAM@cpan.org>
<TEAM@cpan.org>
Copyright Tom Molesworth 2018-2020. Licensed under the same terms as Perl itself.
1;
To install OpenTracing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenTracing
CPAN shell
perl -MCPAN -e shell install OpenTracing
For more information on module installation, please visit the detailed CPAN module installation guide.