sentry: Implement performance tracing
- Jan 13, 2025
-
-
A new init param and env var for our sentry integrations to enable performance tracing
traces_sample_rate
(env var SWH_SENTRY_TRACES_SAMPLE_RATE
): an optional float that defaults to None
. None
means completely disable tracing, 0.5 means enable tracing on 50% of the transactions (for example in swh-web a transaction means a whole HttpRequest cycle).