We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nameTransaction
router.matched
1 parent 7213ce8 commit f5ee866Copy full SHA for f5ee866
src/Intouch/LaravelNewrelic/NewrelicServiceProvider.php
@@ -74,8 +74,8 @@ protected function registerNamedTransactions()
74
{
75
$me = $this;
76
$app = $this->app;
77
- $app['router']->after(
78
- function ( $request, $response ) use ( $me ) {
+ $app['router']->matched(
+ function ( ) use ( $me ) {
79
if (true == $me->app['config']->get( 'newrelic.auto_name_transactions' )) {
80
$me->app['newrelic']->nameTransaction( $me->getTransactionName() );
81
}
0 commit comments