In-Touch / laravel-newrelic

Laravel NewRelic ServiceProvider
173 stars 48 forks source link

Transactions not showing up #2

Closed fturmel closed 11 years ago

fturmel commented 11 years ago

Setting the app name in an App::before() closure seems to work (I can see all my app names in the New Relic panel) but none of the apps have any transactions.

I already tried setting the $xmit parameter to true while setting the app name but that doesn't seem to help.

Any ideas?

fturmel commented 11 years ago

Nevermind, I think something else went wrong. Closing this.

juanjolainez commented 10 years ago

How have you fixed it?

I have a very similiar problem. It only tracks background processes and errors. All the rest...nothing. I only have an API (to communicate with my apps) and the routes are defined as this:

Route::controller('/api', 'ApiController');

Any thoughts?

fturmel commented 10 years ago

Can't remember the details, sorry. I would make sure the "auto_name_transactions" config property is set to true and that the service provider is registered in your app.php.

New Relic now has native support for Laravel too, so you may not need this library anymore if your agent is up to date.

http://blog.newrelic.com/2014/03/06/new-relic-php-agent-now-includes-framework-support-laravel-4/