vrtak-cz/newrelic-tracy

NewRelic PHP agent integration for Tracy

v7.0.0 2018-03-26 11:25 UTC

README

Build Status Latest Stable Version Composer Downloads Dependency Status

Requirements

  • Tracy >=2.3.0 (2.3.x support will be removed on 31 Jan 2017)
  • PHP >=5.5.0 (5.5.x support will be removed on 10 Jul 2016)

Installation

composer require vrtak-cz/newrelic-tracy

Tracy

$logLevel = array( // default (NULL means default)
    \Tracy\Logger::CRITICAL,
    \Tracy\Logger::EXCEPTION,
    \Tracy\Logger::ERROR,
);
$appName = 'PHP Application'; // default (NULL means default)
$license = 'your_licence_key';

\VrtakCZ\NewRelic\Tracy\Bootstrap::init($logLevel, $appName, $license); // all parameters are optional

License

NewRelic Tracy is licensed under the MIT License - see the LICENSE file for details