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 methods start_span and start_active_span to create "casual span references"

OpenTracing::Role::Scope

A Scope formalizes the activation and deactivation of a Span, usually from a CPU standpoint.

OpenTracing::Role::ScopeManager

The ScopeManager interface abstracts both the activation of Span instances via activate_span and access to an active Scope via get_active_scope.

OpenTracing::Role::Span

A Span represents a unit of work executed on behalf of a Trace.

OpenTracing::Role::SpanContext

A SpanContext represents Span state that must be propagated to descendant Span'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.