getsentry / relay

Sentry event forwarding and ingestion service.
https://docs.sentry.io/product/relay/
Other
312 stars 85 forks source link

fix(profiles): Fix unsampled profiles being dropped in processing Relays #3694

Closed Dav1dde closed 4 weeks ago

Dav1dde commented 4 weeks ago

Currently if transactions with profiles are unsampled in a processing Relay they are immediately dropped right after (integration test in default mode fails without these changes).

The changes hopefully also simplify the profile logic a bit and pull more logical decisions directly into processing function instead of it being hidden away in a bunch of implicit state.

Also:

skip-changelog