Skip to content

fix(callbacks): wrap traces sampler callback - #1222

Merged
solnic merged 4 commits into
fix/wrap-log-and-metric-callbacksfrom
fix/wrap-traces-sampler-callback
Sep 23, 2026
Merged

solnic merged 4 commits into
fix/wrap-log-and-metric-callbacksfrom
fix/wrap-traces-sampler-callback

Conversation

@solnic

@solnic solnic commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Now traces_sampler runs via Sentry.Callback and any crash is handled and logged as error with :sentry log domain AND that falls back to using traces_sample_rate assuming it's set, if it's not then we send client report with callback_error set as the reason.

@solnic
solnic added this pull request to stack #1225 September 22, 2026 07:48
@solnic solnic changed the title Fix/wrap traces sampler callback fix(callbacks): wrap traces sampler callback Sep 22, 2026
@solnic
solnic marked this pull request as ready for review September 22, 2026 09:03
@solnic
solnic force-pushed the fix/wrap-traces-sampler-callback branch from 81133cf to 8c70dc2 Compare September 22, 2026 10:06
@solnic
solnic force-pushed the fix/wrap-traces-sampler-callback branch from 8c70dc2 to f6f80b2 Compare September 23, 2026 14:43
@solnic
solnic merged commit b64bcf5 into master Sep 23, 2026
16 checks passed
@solnic
solnic deleted the fix/wrap-traces-sampler-callback branch September 23, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants