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
Tracermethodsstart_spanandstart_active_spanto create "casual span references" - OpenTracing::Role::Scope
-
A
Scopeformalizes the activation and deactivation of aSpan, usually from a CPU standpoint. - OpenTracing::Role::ScopeManager
-
The
ScopeManagerinterface abstracts both the activation ofSpaninstances viaactivate_spanand access to an activeScopeviaget_active_scope. - OpenTracing::Role::Span
-
A
Spanrepresents a unit of work executed on behalf of aTrace. - OpenTracing::Role::SpanContext
-
A
SpanContextrepresentsSpanstate that must be propagated to descendantSpan's and across process boundaries. - OpenTracing::Role::Tracer
-
The
Traceris 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.