NAME

OpenTracing::Protocol::Jaeger - support for Jæger binary Thrift representation of OpenTracing data

DESCRIPTION

See https://github.com/jaegertracing/jaeger-idl/blob/master/thrift/jaeger.thrift for the current format.

encode_batch

Given an OpenTracing::Batch, iterates through the process and spans, returning a byte string containing binary Thrift data.

encode_tags

Given a $field_id and a $tags hashref, encodes the key/value tag data as a struct with the given $field_id and returns a byte string representing that data.

encode_process

Given an OpenTracing::Process instance, encodes using the binary Thrift protocol and returns as byte string data.

encode_span_list

Encodes a span list given in the $spans arrayref, calling "encode_span" for each one, returning byte string data.

encode_span

Encodes the given OpenTracing::Span instance, returning byte string data.

bytes_from_span

Generate byte string encoding for the given OpenTracing::Span instance.

span_from_bytes

Converts a byte string representation into an OpenTracing::Span instance.

AUTHOR

Tom Molesworth TEAM@cpan.org

LICENSE

Copyright Tom Molesworth 2018-2021. Licensed under the same terms as Perl itself.