OpenTracing::Implementation::DataDog - Sending traces to DataDog using Agent
This is version 'v0.41.1'
This version is for
use alias "OpenTracing::Implementation::DataDog", 'Implementation'; my $tracer = Implementation->bootstrap_tracer( agent => { host => 'localhost', port => '8126', path => 'v0.3/traces', }, default_context => { service_name => 'MyService', service_type => 'web', resource_name => 'my_cgi_endpoint, }, );
This `DataDog` implementation for 'OpenTracing' is fully compliant with the open source definition of OpenTracing::Interface.
This implementation connects to the localhost installed agent by default, that listens to port 8126. It recieves traces at the /v0.3/traces endpoint.
localhost
8126
/v0.3/traces
my $tracer = OpenTracing::Implementation::DataDog->bootstrap_tracer( );
Returns a OpenTracing::Interface::Tracer compliant tracer, using the OpenTracing::Implementation::NoOp::Tracer implementation.
A hasreference with instantiation options for OpenTracing::Implementation::DataDog::Client.
A hasreference with instantiation options for OpenTracing::Implementation::DataDog::SpanContext. This will be used if no context can be found for <$tracer-extract_context>>.
<$tracer-
If set to true, this will wrap all methods inside Type::Tiny typechecks, for incomming parameters and return values. Beside that, it will add check for required methods according to the OpenTracing::Interface API description.
Theo van Hoesel <tvanhoesel@perceptyx.com>
'OpenTracing::Implementation::DataDog' is Copyright (C) 2019 .. 2020, 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 package 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::Implementation::DataDog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenTracing::Implementation::DataDog
CPAN shell
perl -MCPAN -e shell install OpenTracing::Implementation::DataDog
For more information on module installation, please visit the detailed CPAN module installation guide.