line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OpenTracing::Implementation::DataDog; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
157621
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
46
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = 'v0.46.2'; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
566
|
use aliased 'OpenTracing::Implementation::DataDog::Tracer'; |
|
1
|
|
|
|
|
799
|
|
|
1
|
|
|
|
|
6
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub bootstrap_tracer { |
13
|
|
|
|
|
|
|
my $implementation_class = shift; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my @implementation_args = @_; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
return Tracer->new( @implementation_args ); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
BEGIN { |
23
|
1
|
|
|
1
|
|
244
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
57
|
|
24
|
1
|
|
|
1
|
|
8
|
with 'OpenTracing::Implementation::Interface::Bootstrap' |
25
|
|
|
|
|
|
|
} # check at compile time, perl -c will work |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |