line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OpenTracing::Implementation::DataDog; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
158034
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
39
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = 'v0.47.0'; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
535
|
use aliased 'OpenTracing::Implementation::DataDog::Tracer'; |
|
1
|
|
|
|
|
762
|
|
|
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
|
|
210
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
50
|
|
24
|
1
|
|
|
1
|
|
5
|
with 'OpenTracing::Implementation::Interface::Bootstrap' |
25
|
|
|
|
|
|
|
} # check at compile time, perl -c will work |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |