Use sentry performance profiling for swh-web in staging
Hey ops, I pushed swh-code@3.7.0 that allows us to use sentry performance profiling. It would be great to have it deployed on staging at some point.
By default profiling is disabled, to enable it a dedicated env var SWH_SENTRY_TRACES_SAMPLE_RATE
is needed. Would it be possible to try it for swh-web in staging with SWH_SENTRY_TRACES_SAMPLE_RATE=0.5
(i.e. 50% of the transactions will be profiled)?
As @olasd suggested in the MR it might be a good idea to keep an eye on sentry.swh.org's metrics to see how this impacts its workload and tweak SWH_SENTRY_TRACES_SAMPLE_RATE
value to see if/when it breaks.