Pony.fm/config/newrelic.php

43 lines
1.4 KiB
PHP
Raw Normal View History

2015-09-06 18:09:57 +02:00
<?php
return array(
2015-10-25 03:35:37 +01:00
/*
|--------------------------------------------------------------------------
| Default NewRelic Integration Settings
|--------------------------------------------------------------------------
*/
2015-09-06 18:09:57 +02:00
2015-10-25 03:35:37 +01:00
/*
* Will automatically name transactions in NewRelic,
* using the Laravel route name, action or request.
*
* Set this to false to use the NewRelic default naming
* scheme, or to set your own in your application.
*/
'auto_name_transactions' => true,
2015-09-06 18:09:57 +02:00
2015-10-25 03:35:37 +01:00
/*
* Define the name used when automatically naming transactions.
* a token string:
* a pattern you define yourself, available tokens:
* {controller} = Controller@action or Closure@path
* {method} = GET / POST / etc.
* {route} = route name if named, otherwise same as {controller}
* {path} = the registered route path (includes variable names)
* {uri} = the actual URI requested
* anything that is not a matched token will remain a string literal
* example:
* "GET /world" with pattern 'hello {path} you really {method} me' would return:
* 'hello /world you really GET me'
*/
'name_provider' => '{route}',
2015-09-06 18:09:57 +02:00
2015-10-25 03:35:37 +01:00
/*
* Will cause an exception to be thrown if the NewRelic
* PHP agent is not found / installed
*/
'throw_if_not_installed' => false,
2015-09-06 18:09:57 +02:00
);