NAME
OpenTracing::Role - common attributes and methods for OpenTracing
DESCRIPTION
This package and related roles provide a set off attributes methods that will be required by a OpenTracing compliant implementation. If these are missing, then it may cause issues being compatible with other modules and or frameworks that need the deeper voodoo magic inside Opentracing.
Provided roles
This distribution provides the following roles:
- OpenTracing::Role::ContextReference
-
References are used by
Tracer
methodsstart_span
andstart_active_span
to create "casual span references" - OpenTracing::Role::Scope
-
A
Scope
formalizes the activation and deactivation of aSpan
, usually from a CPU standpoint. - OpenTracing::Role::ScopeManager
-
The
ScopeManager
interface abstracts both the activation ofSpan
instances viaactivate_span
and access to an activeScope
viaget_active_scope
. - OpenTracing::Role::Span
-
A
Span
represents a unit of work executed on behalf of aTrace
. - OpenTracing::Role::SpanContext
-
A
SpanContext
representsSpan
state that must be propagated to descendantSpan
's and across process boundaries. - OpenTracing::Role::Tracer
-
The
Tracer
is the entry point API between instrumentation code and the tracing implementation.
AUTHOR
Theo van Hoesel <tvanhoesel@perceptyx.com>
COPYRIGHT AND LICENSE
'OpenTracing Roles' is Copyright (C) 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 library 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.