dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Newrelic cannot catch uri #1399

Open shibby opened 7 years ago

shibby commented 7 years ago

Hello,

I'm trying to use newrelic but it cannot catch route details. Like Controller@action.

I only see /index.php and /unknown on new relic. It seems, new relic tries to catch by using Laravel's default router. But it is null on api requests. So it cannot determine about details.

Is there anyone facing this problem before?

brandonsimpson commented 7 years ago

Having the same issue. Did you figure it out?

daiglej-LSPD commented 6 years ago

I am also having the same issue, no one had any luck?

brandonsimpson commented 6 years ago

I ended up sending custom stats to newrelic how I wanted to see them

    newrelic_name_transaction($transaction);
    newrelic_add_custom_tracer($tracer);