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).
Well, returns the time since 'epoch' with fractional seconds, as floating-point.