code.function
property contains full module path
#813
Labels
code.function
property contains full module path
#813
How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
4.1.0
Steps to reproduce
code.function
value of a database query span OR use the "Queries" feature and look at the query detailsExpected result
code.function
span data property contains just the function name, e.g.,show
Actual result
code.function
contains the entire module path, e.g.,App\Http\Controllers\UserController::show
To be honest I'm not 100% sure that this is wrong, I'm just going off the OTel recommendations. In the Python SDK implementation,
code.function
is just the function name, too. Ideally the SDKs would all have matching behaviour.Laravel example: https://sentry-sdks.sentry.io/performance/database/spans/span/6012d1bb6731a029/?project=6778710&statsPeriod=7d
The text was updated successfully, but these errors were encountered: