Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

lcian
Copy link
Member

@lcian lcian commented Sep 23, 2025

馃摐 Description

To implement a custom transport, a user needs to define ITransport::send which takes a SentryEnvelope, so we should mark that one as not internal.

Other than that, this particular user also mentioned SentryEnvelopeHeader, SentryEnvelopeItem, SentryItemType, but I would avoid making those not internal unless they confirm they really need it for their usecase.

馃挕 Motivation and Context

Close #4722
Close JAVA-175

Copy link
Contributor

github-actions bot commented Sep 23, 2025

Performance metrics 馃殌

Plain With Sentry Diff
Startup time 331.33 ms 385.62 ms 54.30 ms
Size 1.58 MiB 2.10 MiB 532.96 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
ee747ae 415.92 ms 470.15 ms 54.23 ms
d217708 411.22 ms 430.86 ms 19.63 ms
d217708 355.34 ms 381.39 ms 26.05 ms
ee747ae 554.98 ms 611.50 ms 56.52 ms
c8125f3 383.82 ms 441.66 ms 57.84 ms
b750b96 421.25 ms 444.09 ms 22.84 ms
3699cd5 423.60 ms 495.52 ms 71.92 ms
3998a95 415.94 ms 478.54 ms 62.60 ms
ee747ae 400.46 ms 423.61 ms 23.15 ms
23d6b12 354.10 ms 408.38 ms 54.28 ms

App size

Revision Plain With Sentry Diff
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
d217708 1.58 MiB 2.10 MiB 532.97 KiB
d217708 1.58 MiB 2.10 MiB 532.97 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
c8125f3 1.58 MiB 2.10 MiB 532.32 KiB
b750b96 1.58 MiB 2.10 MiB 533.20 KiB
3699cd5 1.58 MiB 2.10 MiB 533.45 KiB
3998a95 1.58 MiB 2.10 MiB 532.96 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
23d6b12 1.58 MiB 2.10 MiB 532.31 KiB

Previous results on branch: lcian/ref/transport-public

Startup times

Revision Plain With Sentry Diff
0b27e32 360.96 ms 421.88 ms 60.93 ms
585b761 425.96 ms 484.30 ms 58.34 ms

App size

Revision Plain With Sentry Diff
0b27e32 1.58 MiB 2.10 MiB 532.96 KiB
585b761 1.58 MiB 2.10 MiB 532.98 KiB

Copy link

linear bot commented Sep 25, 2025

@lcian lcian changed the title Mark classes needed for custom transport as not internal Mark SentryEnvelope as not internal Sep 25, 2025
@lcian lcian marked this pull request as ready for review September 25, 2025 08:04
@lcian lcian merged commit e4db821 into main Sep 26, 2025
45 checks passed
@lcian lcian deleted the lcian/ref/transport-public branch September 26, 2025 07:27
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.

Classes like "SentryEnvelope" and plenty of other things are marked as Internal, even though ITransport relies on them

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.