OpenTracing::Role::Span - Role for OpenTracing implementations.
package OpenTracing::Implementation::MyBackendService::Span; use Moo; ... with 'OpenTracing::Role::Span' 1;
This is a Role for OpenTracing implenetations that are compliant with the OpenTracing::Interface.
With the exception of calls to get_context() (which are always allowed), finish() must be the last call made to any span instance, and to do otherwise leads to undefined behavior (but not returning an exception).
get_context()
finish()
Well, returns the time since 'epoch' with fractional seconds, as floating-point.
To install OpenTracing::Role, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenTracing::Role
CPAN shell
perl -MCPAN -e shell install OpenTracing::Role
For more information on module installation, please visit the detailed CPAN module installation guide.