Skip to content
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

add span for response rendering #1818

Merged
merged 8 commits into from Jan 4, 2023

Conversation

chdsbd
Copy link
Contributor

@chdsbd chdsbd commented Jan 2, 2023

Response rendering can be a source of slow performance in Django, especially with Django rest framework and serializers. This change adds a span to track this.

Screenshot 2023-01-02 at 4 30 46 PM

related: #1250

chdsbd and others added 3 commits January 2, 2023 16:20
Response rendering can be a source of slow performance in Django. This change adds a span to track this span
Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

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

thx for the feature @chdsbd !
just some nitpicking for naming consistency with the existing code/conventions

sentry_sdk/integrations/django/views.py Outdated Show resolved Hide resolved
sentry_sdk/integrations/django/views.py Outdated Show resolved Hide resolved
sentry_sdk/integrations/django/views.py Outdated Show resolved Hide resolved
@sl0thentr0py sl0thentr0py self-assigned this Jan 3, 2023
@chdsbd chdsbd marked this pull request as ready for review January 4, 2023 01:05
Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

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

ty @chdsbd !

@sl0thentr0py sl0thentr0py enabled auto-merge (squash) January 4, 2023 07:57
@sl0thentr0py sl0thentr0py merged commit dfb04f5 into getsentry:master Jan 4, 2023
sbdchd added a commit to recipeyak/recipeyak that referenced this pull request Apr 24, 2023
should include getsentry/sentry-python#1818 so
that we get better tracing support for things like the .ical endpoint
kodiakhq bot pushed a commit to recipeyak/recipeyak that referenced this pull request Apr 24, 2023
Should include getsentry/sentry-python#1818 which should hopefully fix the tracing for the `.ical` endpoint

<img width="912" alt="image" src="https://user-images.githubusercontent.com/7340772/233876484-1c479afd-04fd-4c10-8abd-79ae0c000abb.png">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants