Skip to content

feat(website): Add Django docs#762

Merged
BYK merged 1 commit intomainfrom
wlqnlrrxrpsr
Apr 15, 2025
Merged

feat(website): Add Django docs#762
BYK merged 1 commit intomainfrom
wlqnlrrxrpsr

Conversation

@BYK
Copy link
Member

@BYK BYK commented Apr 4, 2025

No description provided.

@vercel
Copy link

vercel bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 11:22am

@codecov
Copy link

codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.03%. Comparing base (a76b2da) to head (19c318f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #762   +/-   ##
=======================================
  Coverage   33.03%   33.03%           
=======================================
  Files          93       93           
  Lines        5788     5788           
  Branches      118      118           
=======================================
  Hits         1912     1912           
  Misses       3876     3876           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • packages/website/public/install.sh: Language not supported
  • packages/website/src/content/docs/setup/django.mdx: Language not supported
  • packages/website/src/content/docs/setup/index.mdx: Language not supported


## 2. Enable Spotlight in your env

Set `$SENTRY_SPOTLIGHT` to `1` in your env
Copy link
Member Author

Choose a reason for hiding this comment

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

Add note/link to docker compose instructions here and mention this should be set to the service name.

Copy link
Member Author

Choose a reason for hiding this comment

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

Also mention that for Spotlight to kick in you need settings.DEBUG to be True in Django, and no DSN is set in sentry_sdk.init() call. This is how we detect "dev mode" and is for the safety of prod environments.

Copy link
Member Author

Choose a reason for hiding this comment

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

@dcramer
Copy link
Member

dcramer commented Apr 14, 2025 via email

@BYK
Copy link
Member Author

BYK commented Apr 14, 2025

@dcramer responded inline. You're right and in fact I misremembered: no DSN-related requirement. Just DEBUG

@BYK BYK enabled auto-merge (squash) April 15, 2025 11:24
@BYK BYK merged commit a316fa1 into main Apr 15, 2025
17 checks passed
@BYK BYK deleted the wlqnlrrxrpsr branch April 15, 2025 11:28
dcramer pushed a commit that referenced this pull request Jun 3, 2025
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.

3 participants