File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,21 @@ Finally, publish the default configuration (it will end up in `config/newrelic.p
3737Once the configuration from the package if published, see ` config/newrelic.php ` for configuration options and
3838descriptions.
3939
40+ ### Transaction Names
41+
42+ Naming is done by replacing tokens in a ` name_provider ` string with formatted output collected from the application.
43+ The ` newrelic.name_provider ` config parameter holds this string - note that non-token string parts are left as-is.
44+
45+ | Token | Description | Example |
46+ | -------| -------------| ---------|
47+ | {controller} | Controller / Action name | App\Http\Controllers\MyController@action |
48+ | {method} | HTTP Verb | GET, POST |
49+ | {route} | Route Name if named, otherwise {controller} | auth.login |
50+ | {path} | Registered route path | /users/{id?} |
51+ | {uri} | Request URI path | /users/12345 |
52+
53+ The default ` newrelic.name_provider ` string is ` '{uri} {route}' ` .
54+
4055### Eloquent Model Observers
4156
4257There are two observer classes for monitoring your Eloquent models, the ` NewrelicCountingObserver ` and the
You can’t perform that action at this time.
0 commit comments