2015-09-06 18:09:57 +02:00
|
|
|
<?php
|
|
|
|
|
2016-09-30 00:26:31 +02:00
|
|
|
return [
|
2015-09-06 18:09:57 +02:00
|
|
|
|
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'
|
|
|
|
*/
|
2015-11-15 09:52:48 +01:00
|
|
|
'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
|
|
|
|
2016-09-30 00:26:31 +02:00
|
|
|
];
|