Document manual session tracking
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
Start by locating the existing session-tracking documentation and checking the issue's Python example against the documented API. Add guidance for manually wrapping a non-WSGI/ASGI session with Hub and auto_session_tracking; done means users can find and follow the example for their project type.
Written by the indexing model from the issue text.
Description
Problem Statement
If you have a non WSGI/ASGI project than there is no automatic session tracking.
But one can easily add session tracking by hand like this:
from sentry_sdk.hub import Hub
from sentry_sdk.sessions import auto_session_tracking
hub = Hub(Hub.current)
with auto_session_tracking(hub):
# all the code that belong to one session goes here.
Solution Brainstorm
This should be somewhere in the documentation, so that people can add session tracking to their projects.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 672
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 212
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-python
-
Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-python#7543 · 1 comment ·
-
Python
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-python#6992 · 1 comment ·
-
Improvement Python
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
getsentry/sentry-python#6970 · 1 comment ·
-
Bug Python
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
getsentry/sentry-python#6504 · 1 comment ·
-
Improvement Python Spans
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-python#5833 · 1 comment ·
All issues in getsentry/sentry-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100