NAME
OpenTracing::Role::Span - Role for OpenTracing implementations.
SYNOPSIS
package OpenTracing::Implementation::MyBackendService::Span;
use Moo;
...
with 'OpenTracing::Role::Span'
1;
DESCRIPTION
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).
epoch_floatingpoint
Well, returns the time since 'epoch' with fractional seconds, as floating-point.