CakePHP 2.x Datadog plugin.
Install datadog php tracer extension:
https://docs.datadoghq.com/tracing/languages/php/
Install the plugin using composer:
composer require "snakano/cakephp-datadog:1.0.*"
Load the plugin:
CakePlugin::load('Datadog');
Add the Dispatcher Filter to the bootstrap.php
file:
Configure::write('Dispatcher.filters', array(
'AssetDispatcher',
'CacheDispatcher',
'Datadog.DatadogFilter' // Add `DatadogFilter`
));
Add the service name to the bootstrap.php
file:
Configure::write('Datadog.serviceName', 'My App Name');