The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with OpenTracing::SpanProxy at lib/OpenTracing/SpanProxy.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line.

NAME

OpenTracing::SpanProxy - wrapper around an OpenTracing::Span

DESCRIPTION

This is the wrapper class that user code would normally receive when working with spans. It allows the creation of nested subspans, and will automatically mark the span as complete when the proxy object is discarded.

For methods available here, see OpenTracing::Span.

span

Returns the OpenTracing::Span instance that this wraps.

log

Writes a log entry to the OpenTracing::Span.

new_span

Creates a new sub-span under this OpenTracing::Span instance.

DESTROY

Called on destruction, will mark completion on the span by calling "finish" in OpenTracing::Span.

INHERITED METHODS

OpenTracing::Common

new

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

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