Skip to content

feat(django): Add http.route attribute - #7428

Merged
alexander-alderman-webb merged 7 commits into
masterfrom
webb/django/http-route
Sep 8, 2026
Merged

feat(django): Add http.route attribute#7428
alexander-alderman-webb merged 7 commits into
masterfrom
webb/django/http-route

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Description

Set the http.route attribute on the server span in patches for Django endpoints.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title feat(django): Add http.route attribute for WSGI handlers feat(django): Add http.route attribute Sep 8, 2026
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 8, 2026 12:34
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 8, 2026 12:34

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

Comment thread sentry_sdk/integrations/django/__init__.py Outdated
Comment thread sentry_sdk/integrations/django/__init__.py
Comment thread tests/integrations/django/asgi/test_asgi.py Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2a08da2. Configure here.

Comment thread tests/integrations/django/asgi/test_asgi.py Outdated

@sentrivana sentrivana 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.

Nice!

@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

130672 passed | ⏭️ 7131 skipped | Total: 137803 | Pass Rate: 94.83% | Execution Time: 469m 15s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +32402
Passed Tests 📈 +31750
Failed Tests
Skipped Tests 📈 +652

All tests are passing successfully.

❌ Patch coverage is 70.59%. Project has 2522 uncovered lines.
❌ Project coverage is 90.21%. Comparing base (611584b) to head (952da11).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/django/init.py 70.59% ⚠️ 10 Missing and 2 partials
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.25%    90.21%    -0.04%
==========================================
  Files          193       193         —
  Lines        25729     25757       +28
  Branches      9496      9506       +10
==========================================
+ Hits         23221     23235       +14
- Misses        2508      2522       +14
- Partials      1434      1437        +3

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb merged commit 5e2fcf1 into master Sep 8, 2026
310 of 312 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/django/http-route branch September 8, 2026 13:37
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.

2 participants