2017 © Pedro Peláez
 

library newrelic

image

damejidlo/newrelic

  • Friday, June 15, 2018
  • by Achse
  • Repository
  • 11 Watchers
  • 12 Stars
  • 29,564 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 3 % Grown

The README.md

Downloads this Month Latest Stable Version , (*1)

Install

composer require damejidlo/newrelic

Configure

Register NewRelicExtension in your config:, (*2)

extensions:
    newrelic: Damejidlo\NewRelic\DI\NewRelicExtension(%consoleMode%)

newrelic:
    applicationName: fooBar
    applicationModules:
        web:
            '/api/': Api
            '/admin/': Admin
            '': Front
        console:
            'bin/foo.php ': Foo
            '': Console
    autorum: FALSE
    customTracers:
        - 'Doctrine\ORM\EntityManager::flush'

Put $_ENV settings (something like this) into index.php:, (*3)

<?php

$_ENV['REQUEST_TIME_FLOAT'] = microtime(TRUE);

$container = require __DIR__ . '/../app/bootstrap.php';

$_ENV['COMPILATION_TIME_FLOAT'] = microtime(TRUE);

$container->getByType(\Nette\Application\Application::class)->run();

The Versions

04/05 2016

1.0.2

1.0.2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

01/04 2016

1.0.1

1.0.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

01/04 2016

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires