vrtak-cz/newrelic-tracy

NewRelic PHP agent integration for Tracy

v8.0.0 2019-05-26 20:09 UTC

README

Build Status Latest Stable Version Composer Downloads

Requirements

  • Tracy >=2.4
  • PHP >=7.1

Installation

composer require vrtak-cz/newrelic-tracy

Tracy

$logLevel = [ // 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