OpenTracing-Implementation-DataDog
view release on metacpan or search on metacpan
"Math::BigInt::Random::OO" : "0",
"Moo" : "0",
"Moo::Role" : "0",
"MooX::Attribute::ENV" : "0.04",
"MooX::Enumeration" : "0",
"MooX::ProtectedAttributes" : "0",
"MooX::Should" : "v0.1.4",
"OpenTracing::Implementation" : "0.03",
"OpenTracing::Role" : "v0.86.0",
"PerlX::Maybe" : "0",
"Ref::Util" : "0",
"Regexp::Common" : "0",
"Regexp::Common::URI::http" : "0",
"Sub::HandlesVia" : "0",
"Sub::Trigger::Lock" : "0",
"Syntax::Feature::Maybe" : "0",
"Try::Tiny" : "0",
"Type::Tiny::XS" : "0",
"Types::Common::Numeric" : "0",
"Types::Common::String" : "0",
"Types::Interface" : "0",
"Types::Standard" : "0",
"aliased" : "0",
"syntax" : "0"
}
},
"test" : {
"requires" : {
"Ref::Util" : "0",
"Test::JSON" : "0",
"Test::MockModule" : "0",
"Test::Most" : "0",
"Test::OpenTracing::Interface" : "0",
"Test::URI" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
---
abstract: unknown
author:
- unknown
build_requires:
ExtUtils::MakeMaker: '0'
Ref::Util: '0'
Test::JSON: '0'
Test::MockModule: '0'
Test::Most: '0'
Test::OpenTracing::Interface: '0'
Test::URI: '0'
configure_requires:
ExtUtils::MakeMaker::CPANfile: '0.09'
dynamic_config: 0
generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
license: perl
Math::BigInt::Random::OO: '0'
Moo: '0'
Moo::Role: '0'
MooX::Attribute::ENV: '0.04'
MooX::Enumeration: '0'
MooX::ProtectedAttributes: '0'
MooX::Should: v0.1.4
OpenTracing::Implementation: '0.03'
OpenTracing::Role: v0.86.0
PerlX::Maybe: '0'
Ref::Util: '0'
Regexp::Common: '0'
Regexp::Common::URI::http: '0'
Sub::HandlesVia: '0'
Sub::Trigger::Lock: '0'
Syntax::Feature::Maybe: '0'
Try::Tiny: '0'
Type::Tiny::XS: '0'
Types::Common::Numeric: '0'
Types::Common::String: '0'
Types::Interface: '0'
requires "JSON::MaybeXS";
requires "LWP::UserAgent";
requires "Math::BigInt::Random::OO";
requires "Moo";
requires "Moo::Role";
requires "MooX::Attribute::ENV", '>= 0.04';
requires "MooX::Enumeration";
requires "MooX::ProtectedAttributes";
requires "MooX::Should", '>=v0.1.4';
requires "PerlX::Maybe";
requires "Ref::Util";
requires "Regexp::Common";
requires "Regexp::Common::URI::http";
requires "Sub::HandlesVia";
requires "Sub::Trigger::Lock";
requires "Syntax::Feature::Maybe";
requires "Try::Tiny";
requires "Types::Common::Numeric";
requires "Types::Common::String";
requires "Types::Interface";
requires "Types::Standard";
requires "Type::Tiny::XS";
requires "aliased";
requires "syntax";
on 'develop' => sub {
requires "ExtUtils::MakeMaker::CPANfile";
};
on 'test' => sub {
requires "Ref::Util";
requires "Test::JSON";
requires "Test::Most";
requires "Test::MockModule";
requires "Test::OpenTracing::Interface";
requires "Test::URI";
};
lib/OpenTracing/Implementation/DataDog/Span.pm view on Meta::CPAN
use syntax 'maybe';
use Moo;
use MooX::Should;
with 'OpenTracing::Role::Span';
use aliased 'OpenTracing::Implementation::DataDog::SpanContext';
use Types::Standard qw/Str/;
use Ref::Util qw/is_plain_hashref/;
use Carp;
=head1 DESCRIPTION
This is a L<OpenTracing Span|OpenTracing::Interface::Span> compliant
implementation whit DataDog specific extentions
=cut
lib/OpenTracing/Implementation/DataDog/Tracer.pm view on Meta::CPAN
with 'OpenTracing::Role::Tracer';
use aliased 'OpenTracing::Implementation::DataDog::Client';
use aliased 'OpenTracing::Implementation::DataDog::HTTPPropagator';
use aliased 'OpenTracing::Implementation::DataDog::ScopeManager';
use aliased 'OpenTracing::Implementation::DataDog::Span';
use aliased 'OpenTracing::Implementation::DataDog::SpanContext';
use Hash::Merge;
use Ref::Util qw/is_plain_hashref/;
use Types::Standard qw/Object Str/;
=head1 DESCRIPTION
This is a L<OpenTracing SpanContext|OpenTracing::Interface::SpanContext>
compliant implementation with DataDog specific extentions
=cut
t/OpenTracing/Implementation/DataDog/ScopeManager/09_build_scope.t view on Meta::CPAN
use Test::Most;
use Test::MockModule;
use aliased 'OpenTracing::Implementation::DataDog::ScopeManager';
use aliased 'OpenTracing::Implementation::DataDog::Span';
use Ref::Util qw/is_coderef/;
subtest "Build with known options" => sub {
my $some_span;
lives_ok {
$some_span = Span->new(
operation_name => 'foo',
context => {
t/OpenTracing/Implementation/DataDog/ScopeManager/09_build_scope_STRICT.t view on Meta::CPAN
use Test::Most;
use Test::MockModule;
BEGIN {
$ENV{EXTENDED_TESTING} = !undef
}
use aliased 'OpenTracing::Implementation::DataDog::ScopeManager';
use aliased 'OpenTracing::Implementation::DataDog::Span';
use Ref::Util qw/is_coderef/;
subtest "Build with missing options" => sub {
my $some_span;
lives_ok {
$some_span = Span->new(
operation_name => 'foo',
context => {
t/OpenTracing/Implementation/DataDog/ScopeManager/09_build_scope_STRICT_no.t view on Meta::CPAN
BEGIN {
delete $ENV{$_}
for qw/EXTENDED_TESTING AUTHOR_TESTING RELEASE_TESTING PERL_STRICT/
}
use aliased 'OpenTracing::Implementation::DataDog::ScopeManager';
use aliased 'OpenTracing::Implementation::DataDog::Span';
use Ref::Util qw/is_coderef/;
subtest "Build with missing options" => sub {
my $some_span;
lives_ok {
$some_span = Span->new(
operation_name => 'foo',
context => {
t/OpenTracing/Implementation/DataDog/Tracer/09_build_span.t view on Meta::CPAN
use Test::Most;
use Test::MockModule;
use aliased 'OpenTracing::Implementation::DataDog::Span';
use aliased 'OpenTracing::Implementation::DataDog::SpanContext';
use aliased 'OpenTracing::Implementation::DataDog::Tracer';
use Ref::Util qw/is_coderef/;
=for
instance_method build_span (
Str :$operation_name,
SpanContext :$context,
Maybe[ SpanContext | Span ] :$child_of,
Maybe[ PositiveOrZeroNum ] :$start_time,
Maybe[ HashRef[Str] ] :$tags,
) :Return (Span) { };
( run in 0.378 second using v1.01-cache-2.11-cpan-4d50c553e7e )