OpenTracing::Implementation::Test::SpanContext - OpenTracing Test for SpanContext
This is the SpanContext used by OpenTracing::Implementation::Test. The following attributes are provided on top of OpenTracing::Role::SpanContext:
SpanContext
The context will know how deep in the span hierarchy it is. The root is always level 0.
This attributes actually does nothing. You can use it to test any code which should set context attributes without having to subclass.
Returns the depth of the span (number of parent spans) in the hierarchy.
Create a cloned object with with the new $level.
Create a cloned object with level increased by one.
level
Create a cloned object with $new_item as context_item.
context_item
Szymon Nieznanski <snieznanski@perceptyx.com>
'Test::OpenTracing::Integration' is Copyright (C) 2019 .. 2020, Perceptyx Inc
This library is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This package is distributed in the hope that it will be useful, but it is provided "as is" and without any express or implied warranties.
For details, see the full text of the license in the file LICENSE.
To install Test::OpenTracing::Integration, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::OpenTracing::Integration
CPAN shell
perl -MCPAN -e shell install Test::OpenTracing::Integration
For more information on module installation, please visit the detailed CPAN module installation guide.