-
Notifications
You must be signed in to change notification settings - Fork 566
fix(Django): Avoid evaluating complex Django object in span.data/span.attributes #4804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4804 +/- ##
=======================================
Coverage 84.56% 84.56%
=======================================
Files 158 158
Lines 16513 16521 +8
Branches 2866 2867 +1
=======================================
+ Hits 13964 13971 +7
Misses 1703 1703
- Partials 846 847 +1
|
…tsentry/sentry-python into antonpirker/django5-admin-improvement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a comment, ideally you can find the root cause.
Filtering the context is also fine with me, but the final representation cannot be misleading as currently implemented.
…tsentry/sentry-python into antonpirker/django5-admin-improvement
Description
When rendering templates of the Django Admin in Django 5.0+ the template context includes also a
QuerySetwith lots of log items.In our
serialize()function this was not properly serialized leading to evaluating theQuerySet(read: running the SQL query).This change updates the
serialize()to also correctly serializeQuerySets inspan.dataIssues