Skip to content

Conversation

buenaflor
Copy link
Contributor

@buenaflor buenaflor commented Sep 10, 2025

📜 Description

Adds support for W3C traceparent header. Only added if the option propagateTraceparent is set to true.

💡 Motivation and Context

Closes #3218

💚 How did you test it?

Unit tests

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

🔮 Next steps

Copy link
Contributor

github-actions bot commented Sep 10, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 5218b30

Copy link

codecov bot commented Sep 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.96%. Comparing base (b2c8b57) to head (5218b30).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3246      +/-   ##
==========================================
+ Coverage   87.94%   87.96%   +0.01%     
==========================================
  Files         290      290              
  Lines        9987    10003      +16     
==========================================
+ Hits         8783     8799      +16     
  Misses       1204     1204              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Sep 10, 2025

Android Performance metrics 🚀

  Plain With Sentry Diff
Startup time 460.67 ms 502.85 ms 42.18 ms
Size 13.93 MiB 15.00 MiB 1.06 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
cc4e375 426.15 ms 482.34 ms 56.19 ms
f761369 462.73 ms 563.80 ms 101.06 ms
de377fd 572.35 ms 589.21 ms 16.87 ms
93b7728 475.28 ms 489.13 ms 13.86 ms
2cf9161 454.12 ms 512.67 ms 58.55 ms
575ebaa 478.00 ms 585.76 ms 107.76 ms
fd88186 422.07 ms 469.10 ms 47.03 ms
6ba4675 499.80 ms 632.43 ms 132.63 ms
0929dbf 462.82 ms 492.76 ms 29.94 ms
81f83eb 471.40 ms 522.14 ms 50.74 ms

App size

Revision Plain With Sentry Diff
cc4e375 6.54 MiB 7.69 MiB 1.15 MiB
f761369 6.54 MiB 7.70 MiB 1.16 MiB
de377fd 6.54 MiB 7.71 MiB 1.17 MiB
93b7728 6.54 MiB 7.69 MiB 1.15 MiB
2cf9161 6.54 MiB 7.70 MiB 1.16 MiB
575ebaa 6.54 MiB 7.69 MiB 1.15 MiB
fd88186 13.93 MiB 15.00 MiB 1.06 MiB
6ba4675 6.54 MiB 7.53 MiB 1015.26 KiB
0929dbf 6.54 MiB 7.70 MiB 1.17 MiB
81f83eb 6.54 MiB 7.69 MiB 1.15 MiB

Previous results on branch: feat/w3c-traceparent

Startup times

Revision Plain With Sentry Diff
43c186a 474.86 ms 487.86 ms 13.00 ms

App size

Revision Plain With Sentry Diff
43c186a 13.93 MiB 15.00 MiB 1.06 MiB

Copy link
Contributor

github-actions bot commented Sep 10, 2025

iOS Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1270.90 ms 1272.72 ms 1.82 ms
Size 5.53 MiB 6.00 MiB 479.99 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
c1e775e 1263.08 ms 1275.32 ms 12.24 ms
81f83eb 1259.53 ms 1273.39 ms 13.86 ms
ec78888 1251.37 ms 1269.40 ms 18.04 ms
c26ed0a 1244.11 ms 1263.85 ms 19.75 ms
fd88186 1255.06 ms 1252.76 ms -2.30 ms
cc4e375 1253.06 ms 1263.81 ms 10.75 ms
54acf91 1257.65 ms 1277.96 ms 20.31 ms
79f6b41 1269.33 ms 1279.71 ms 10.38 ms
75284dc 1254.81 ms 1262.28 ms 7.46 ms
8825ed8 1243.35 ms 1240.39 ms -2.96 ms

App size

Revision Plain With Sentry Diff
c1e775e 20.70 MiB 22.46 MiB 1.75 MiB
81f83eb 7.86 MiB 9.44 MiB 1.58 MiB
ec78888 7.86 MiB 9.44 MiB 1.58 MiB
c26ed0a 5.53 MiB 5.97 MiB 453.76 KiB
fd88186 5.53 MiB 6.00 MiB 479.94 KiB
cc4e375 7.86 MiB 9.44 MiB 1.58 MiB
54acf91 20.70 MiB 22.46 MiB 1.75 MiB
79f6b41 7.86 MiB 9.44 MiB 1.58 MiB
75284dc 5.53 MiB 5.97 MiB 453.77 KiB
8825ed8 5.53 MiB 5.97 MiB 453.71 KiB

Previous results on branch: feat/w3c-traceparent

Startup times

Revision Plain With Sentry Diff
43c186a 1259.84 ms 1260.39 ms 0.55 ms
c1e1047 1262.80 ms 1265.73 ms 2.93 ms

App size

Revision Plain With Sentry Diff
43c186a 5.53 MiB 6.00 MiB 479.99 KiB
c1e1047 5.53 MiB 6.00 MiB 479.99 KiB

@buenaflor buenaflor marked this pull request as ready for review September 11, 2025 12:04
@buenaflor buenaflor requested a review from markushi September 11, 2025 12:09
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.

Add traceparent support to sentry-dart
1 participant