getsentry / getsentry/sentry-python

Add a warning if starting a transaction within a transaction

未关闭
#4,631 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Improvement Python Spans
主要语言
Python
星标
2.2k
派生
669
平均合并
1 天 40 分钟
30 天内合并 PR
212

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。