Skip to content

feat: Enable Django cache_spans in Sentry SDK - #82645

Merged
BYK merged 4 commits into
masterfrom
byk/feat/enable-django-cache-spans
Jan 8, 2025
Merged

BYK merged 4 commits into
masterfrom
byk/feat/enable-django-cache-spans

Conversation

@BYK

@BYK BYK commented Dec 30, 2024 •

Copy link
Copy Markdown
Member

This is a follow up to getsentry/sentry-python#3300 where we think we have addressed the performance issues regarding cache_spans in DjangoIntegration. This is a test and if we can confirm the lack of perf regression, we will enable this option by default in Sentry SDK as the next step.

This is a follow up to getsentry/sentry-python#3300 where we think we have addressed the performance issues regarding `cache_spans` in `DjangoIntegration`. This is a test and if we can confirm the lack of perf regression, we will enable this option by default in Sentry SDK as the next step.
@BYK
BYK requested a review from a team as a code owner December 30, 2024 12:57
@BYK
BYK requested review from antonpirker, asottile-sentry and sentrivana and removed request for a team December 30, 2024 12:57
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 30, 2024

@antonpirker antonpirker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. (Did some load testing locally with the newest SDK and enabling the cache_spans did not change the load significantly. mem usage was roughly the same and the response times when up a bit, but not drastically)

@BYK
BYK merged commit 05481ee into master Jan 8, 2025
@BYK
BYK deleted the byk/feat/enable-django-cache-spans branch January 8, 2025 14:29
andrewshie-sentry pushed a commit that referenced this pull request Jan 22, 2025
This is a follow up to
[getsentry/sentry-python#3300](getsentry/sentry-python#3300)
where we think we have addressed the performance issues regarding
`cache_spans` in `DjangoIntegration`. This is a test and if we can
confirm the lack of perf regression, we will enable this option by
default in Sentry SDK as the next step.
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 24, 2025

This branch was successfully deployed

1 active deployment
Preview — a08e02c7 Deployed Jan 2, 2025 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants