sentry-rust icon indicating copy to clipboard operation
sentry-rust copied to clipboard

Make transport channel capacity configurable

Open szokeasaurusrex opened this issue 9 months ago • 5 comments

In https://github.com/getsentry/sentry-rust/pull/923, @lorenzocian proposed an improvement to make the transport channel capacity configurable. This could make it less likely that we saturate the capacity of the channel in high-throughput scenarios.

As this change requires us to add a field to ClientOptions, it is breaking, so we decided not to proceed with that PR for now, but it is probably a good improvement to do at some point.

szokeasaurusrex avatar Feb 16 '26 11:02 szokeasaurusrex

RUST-149

linear[bot] avatar Feb 16 '26 11:02 linear[bot]

Hi! I'd love to contribute. Could you assign this issue to me?

mizoz avatar Apr 28 '26 18:04 mizoz

@mizoz thank you for the offer; however, we already have #1040 open to address this issue

szokeasaurusrex avatar May 05 '26 14:05 szokeasaurusrex

@szokeasaurusrex Given that we're making a breaking change for strict trace continuation, how about we ship this too in the next release, should be an easy change now that we have the new TransportOptions?

lcian avatar Jun 26 '26 09:06 lcian

@lcian yeah, that could make sense! Or, we can just adapt the existing PR to use TransportOptions

szokeasaurusrex avatar Jun 26 '26 09:06 szokeasaurusrex