getsentry / getsentry/sentry-python

Add a warning if starting a transaction within a transaction

Offen
#4,631 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement Python Spans
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
669
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
213

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.