line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OpenTracing::Implementation::DataDog::Scope; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
OpenTracing::Implementation::DataDog::Scope - A DataDog specific Scope |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
This class merely exists because of the wrong design choice, and having a |
10
|
|
|
|
|
|
|
DataDog dependend ScopeManager. |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
The desire is to generate a generic OT ScopeManager for different types of |
13
|
|
|
|
|
|
|
scopes and how they are handles in asynchronous environments. If ever. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $VERSION = 'v0.47.0'; |
20
|
|
|
|
|
|
|
|
21
|
14
|
|
|
14
|
|
523477
|
use Moo; |
|
14
|
|
|
|
|
7329
|
|
|
14
|
|
|
|
|
92
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
BEGIN { |
24
|
14
|
|
|
14
|
|
7415
|
with 'OpenTracing::Role::Scope'; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SEE ALSO |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=over |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=item L<OpenTracing::Implementation::DataDog> |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Sending traces to DataDog using Agent. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=item L<OpenTracing::Role::Scope> |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
Role for OpenTracing Implementations. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=back |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 AUTHOR |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Theo van Hoesel <tvanhoesel@perceptyx.com> |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
'OpenTracing::Implementation::DataDog' |
54
|
|
|
|
|
|
|
is Copyright (C) 2019 .. 2021, Perceptyx Inc |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify it under |
57
|
|
|
|
|
|
|
the terms of the Artistic License 2.0. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
This package is distributed in the hope that it will be useful, but it is |
60
|
|
|
|
|
|
|
provided "as is" and without any express or implied warranties. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
For details, see the full text of the license in the file LICENSE. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=cut |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
1; |