PHPackages                             damejidlo/newrelic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. damejidlo/newrelic

AbandonedArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

damejidlo/newrelic
==================

Newrelic integration into Nette Framework

3.0.1(6y ago)097.1kMITPHPPHP &gt;=7.2

Since Apr 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/damejidlo/newrelic)[ Packagist](https://packagist.org/packages/damejidlo/newrelic)[ RSS](/packages/damejidlo-newrelic/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (9)Dependencies (12)Versions (10)Used By (0)

[![Downloads this Month](https://camo.githubusercontent.com/41913ac5e19eb854093a81bbf08a2446c1b762835626f211fbd7cd665b223701/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64616d656a69646c6f2f6e657772656c69632e737667)](https://packagist.org/packages/damejidlo/newrelic)[![Latest Stable Version](https://camo.githubusercontent.com/9da2c385d4594e278b9e9e92995bc93fdb004d5016cbc0c42e3ee197cf5fa753/68747470733a2f2f706f7365722e707567782e6f72672f64616d656a69646c6f2f6e657772656c69632f762f737461626c65)](https://github.com/damejidlo/newrelic/releases)[![](https://camo.githubusercontent.com/cbd88c115c637ae822e33e3a109f501e98d4cfea0e851a3163cf262910a865dc/68747470733a2f2f7472617669732d63692e6f72672f64616d656a69646c6f2f6e657772656c69632e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/cbd88c115c637ae822e33e3a109f501e98d4cfea0e851a3163cf262910a865dc/68747470733a2f2f7472617669732d63692e6f72672f64616d656a69646c6f2f6e657772656c69632e7376673f6272616e63683d6d6173746572)

Install
=======

[](#install)

```
composer require damejidlo/newrelic

```

Configure
=========

[](#configure)

Register `NewRelicExtension` in your config:

```
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`:

```
