Group
Extension

Matches 2

OpenTracing ( T/TE/TEAM/OpenTracing-1.006.tar.gz, TEAM, 2022; MetaCPAN )
OpenTracing/lib/OpenTracing/Protocol.pm ( view source; MetaCPAN )
inary Thrift encoding for the Jæger opentracing tool

=item * L<OpenTracing::Protocol::Zipkin> - JSON representation as supported by Zipkin

=back

This module provides a rôle for the encoding/decod
OpenTracing ( T/TE/TEAM/OpenTracing-1.006.tar.gz, TEAM, 2022; MetaCPAN )
OpenTracing/lib/OpenTracing/Protocol/Zipkin.pm ( view source; MetaCPAN )
2 JSON representation of OpenTracing data

=head1 DESCRIPTION

See L<https://zipkin.io/zipkin-api/#/default/post_spans> for details on
the current format.

=cut

use JSON::MaybeUTF8 qw(:v1);
use JSON:
qw(JSON);

use Role::Tiny::With;

with qw(OpenTracing::Protocol);

sub new { bless { @_[1..$#_] }, $_[0] }

=head2 bytes_from_span

Returns the given data structure as a bytestream containing
a JSON U
TF-8 representation, as defined by Zipkin, Datadog and
other providers.

The resulting JSON will have at most the following keys:

=over 4

=item * C<id> - the span ID

=item * C<traceId> - the trace 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.