getsentry / getsentry/sentry-python

Standardize `transaction_style` option

Offen
#3,629 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement Python
Vorherrschende Sprache
Python
Sterne
2.2k
Forks
669
Ø Merge
1 T. 40 Min.
Gemergte PRs (30 T.)
212

Beschreibung

Many server framework integrations take a `transaction_style` parameter. This is a string which specifies how the transaction name is generated. Although many frameworks have similar options, they are named differently; the different possible values for `transaction_style` are not standardized across different integrations (e.g. [AIOHTTP](http://localhost:3000/platforms/python/integrations/aiohttp/#transaction_style), [Flask](http://localhost:3000/platforms/python/integrations/flask/#options), and [Falcon](http://localhost:3000/platforms/python/integrations/falcon/#options) each define very different options).

We should settle on standardized values for this parameter to use across all integrations, perhaps by using an enum. Maybe we can reuse the `TRANSACTION_SOURCE` constants for this purpose.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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