OpenTracing::Interface - API definition for OpenTransport implementations
In order to understand the Perl platform API, one must first be familiar with the OpenTracing project and terminology more generally.
use Package::Alias 'OpenTracing' => 'Perceptyx::OpenTracing'; OpenTracing->set_global_tracer( Some::Tracer::Implementation->new( ... ) );
The interfaces are being defined as roles ( using Role::Tiny ) and use around method modifiers, instead of require, we do want to wrap the method in type checking ( using Type::Tiny and friends ).
around
require
Theo van Hoesel <tvanhoesel@perceptyx.com>
'OpenTracing API for Perl' is Copyright (C) 2019, 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.
To install OpenTracing::Interface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenTracing::Interface
CPAN shell
perl -MCPAN -e shell install OpenTracing::Interface
For more information on module installation, please visit the detailed CPAN module installation guide.