Thursday, 10 October 2019

newrelic for laravel to track routes response time

I am trying to add newrelic to my laravel site. I found this repo. But couldn't use it properly.

Where should I put this code?

App::after( function() {
    Newrelic::setAppName( 'MyApp' );
} );

Or maybe other ways to add routes response time to newrelic...



from newrelic for laravel to track routes response time

No comments:

Post a Comment