getsentry / getsentry/sentry-python
Document manual session tracking
オープン
Docs
good first issue
Help Wanted
Python
- 主要言語
- Python
- スター
- 2.2k
- フォーク
- 669
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 213
説明
### 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.
コントリビューションガイド
評価
この issue はまだ評価されていません。