getsentry / getsentry/sentry-python
Add a warning if starting a transaction within a transaction
Đang mở
Improvement
Python
Spans
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 669
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 213
Mô tả
In SDK 2.x, starting a transaction within a running transaction is undefined behavior. In SDK 3.x, there is no real user-facing `start_transaction` anymore, which might mean that spans that used to be transactions in 2.x will become child spans in 3.x.
We should issue a warning if we detect someone wants to `start_transaction` while another transaction is running in 2.x, to give people heads up before upgrading to 3.x.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.