OpenTracing::SpanProxy - wrapper around an OpenTracing::Span
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.
Returns the OpenTracing::Span instance that this wraps.
Writes a log entry to the OpenTracing::Span.
Creates a new sub-span under this OpenTracing::Span instance.
Called on destruction, will mark completion on the span by calling "finish" in OpenTracing::Span.
new
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2018-2020. Licensed under the same terms as Perl itself.
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.