How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.37.0
Steps to Reproduce
- Enable the
enable_db_query_source SDK option
- Instrument a path that has a query > 100ms
- Examine the span that comes into Sentry
Expected Result
The code.filepath property is an in-app path, something like /app/controllers/view.py
The span's code.filepath contains the full absolute path to the file. This is different from Laravel, which attaches the in-app path. Is it possible for the Python SDK to put the app path into code.filepath?
Actual Result
The code.filepath property is an absolute path, something like /usr/george/server/app/controllers/view.py
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.37.0
Steps to Reproduce
enable_db_query_sourceSDK optionExpected Result
The
code.filepathproperty is an in-app path, something like/app/controllers/view.pyThe span's
code.filepathcontains the full absolute path to the file. This is different from Laravel, which attaches the in-app path. Is it possible for the Python SDK to put the app path intocode.filepath?Actual Result
The
code.filepathproperty is an absolute path, something like/usr/george/server/app/controllers/view.py