getsentry / getsentry/sentry-python

Standardize `transaction_style` option

Open
#3,629 0 comments 0 reactions 0 assignees View on GitHub
Improvement Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.