scoutapp / scout-apm-php

ScoutAPM's Base PHP Agent - See README for Laravel, Symfony, and other framework support.
https://scoutapm.com
MIT License
16 stars 3 forks source link

controllerOrJobName does not descend into span tree #296

Open asgrim opened 1 year ago

asgrim commented 1 year ago

\Scoutapm\Events\Request\Request::controllerOrJobName currently only looks at the top level spans. So if you have:

Request
 - Span: Middleware/all
   - Span: Controller/something
 - TagRequest
 - TagRequest

The controller name would not be revealed.