CGI::Application::Plugin::OpenTracing::DataDog - Simple CGI with DataDog tracing
This is version 'v0.1.0'
package My::CGI::App; use base 'CGI::Application'; use CGI::Application::Plugin::OpenTracing::DataDog default_resource_name => 'my/index.cgi' ;
This module will make integrations for CGI::Application based services even more convenient for those using DataDog as backend.
OPENTRACING_IMLEMENTATION
Set this one explitly to NoOp to disable tracing. That is, the NoOp-Tracer is preventing code braakage but does not do much and certainly not send data across the network.
NoOp
Use this as DevOps to disable tracing with DataDog.
This is opposite behavior compared to CGI::Application::Plugin::OpenTracing, where it explictely needs to be set to enable tracing with a specific tracer implememtatation and fall back to NoOp.
Setting this to anything else then NoOp or DataDog will cause compilation errors.
DataDog
At bootstrap the default_resource_name MUST be set to a non empty string. Not doing so will be considered as a breaking error.
default_resource_name
Sending traces to DataDog using Agent.
Use OpenTracing in CGI Applications
For Application developers and Devops
Theo van Hoesel <tvanhoesel@perceptyx.com>
'CGI::Application::Plugin::OpenTracing::DataDog' is Copyright (C) 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 CGI::Application::Plugin::OpenTracing::DataDog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Application::Plugin::OpenTracing::DataDog
CPAN shell
perl -MCPAN -e shell install CGI::Application::Plugin::OpenTracing::DataDog
For more information on module installation, please visit the detailed CPAN module installation guide.