You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Sentry UI, examine the code.function value of a database query span OR use the "Queries" feature and look at the query details
Expected 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.
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: