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 8952978

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 (ab21773) to head (8952978).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3246      +/-   ##
==========================================
+ Coverage   87.82%   87.96%   +0.13%     
==========================================
  Files         290      290              
  Lines        9987    10003      +16     
==========================================
+ Hits         8771     8799      +28     
+ Misses       1216     1204      -12     

☔ 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 434.81 ms 427.61 ms -7.20 ms
Size 13.93 MiB 15.00 MiB 1.06 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
93b7728 475.28 ms 489.13 ms 13.86 ms
6f47800 451.04 ms 509.64 ms 58.60 ms
6ba4675 499.80 ms 632.43 ms 132.63 ms
eca355d 485.50 ms 569.85 ms 84.35 ms
f761369 462.73 ms 563.80 ms 101.06 ms
c1e775e 482.36 ms 608.98 ms 126.62 ms
3615e19 468.38 ms 504.71 ms 36.33 ms
827bf09 475.40 ms 547.14 ms 71.74 ms
0fb3800 465.64 ms 536.77 ms 71.13 ms
6bcdc99 440.23 ms 435.77 ms -4.46 ms

App size

Revision Plain With Sentry Diff
93b7728 6.54 MiB 7.69 MiB 1.15 MiB
6f47800 6.54 MiB 7.69 MiB 1.15 MiB
6ba4675 6.54 MiB 7.53 MiB 1015.26 KiB
eca355d 6.54 MiB 7.70 MiB 1.16 MiB
f761369 6.54 MiB 7.70 MiB 1.16 MiB
c1e775e 6.54 MiB 7.70 MiB 1.17 MiB
3615e19 6.54 MiB 7.70 MiB 1.16 MiB
827bf09 6.54 MiB 7.53 MiB 1015.27 KiB
0fb3800 6.54 MiB 7.69 MiB 1.15 MiB
6bcdc99 13.93 MiB 15.00 MiB 1.06 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
c1e1047 460.67 ms 502.85 ms 42.18 ms

App size

Revision Plain With Sentry Diff
43c186a 13.93 MiB 15.00 MiB 1.06 MiB
c1e1047 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 1236.71 ms 1231.92 ms -4.80 ms
Size 5.53 MiB 6.00 MiB 479.95 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
32914d8 1275.47 ms 1285.20 ms 9.73 ms
dbd526b 1244.78 ms 1259.02 ms 14.24 ms
827bf09 1261.86 ms 1276.41 ms 14.55 ms
793f4dc 1262.50 ms 1282.35 ms 19.85 ms
575ebaa 1262.20 ms 1274.24 ms 12.04 ms
fd88186 1255.06 ms 1252.76 ms -2.30 ms
81f83eb 1259.53 ms 1273.39 ms 13.86 ms
75284dc 1254.81 ms 1262.28 ms 7.46 ms
c8596a6 1234.11 ms 1241.19 ms 7.08 ms
cc4e375 1253.06 ms 1263.81 ms 10.75 ms

App size

Revision Plain With Sentry Diff
32914d8 7.86 MiB 9.44 MiB 1.58 MiB
dbd526b 7.86 MiB 9.44 MiB 1.58 MiB
827bf09 7.86 MiB 9.44 MiB 1.58 MiB
793f4dc 7.86 MiB 9.44 MiB 1.58 MiB
575ebaa 7.86 MiB 9.44 MiB 1.58 MiB
fd88186 5.53 MiB 6.00 MiB 479.94 KiB
81f83eb 7.86 MiB 9.44 MiB 1.58 MiB
75284dc 5.53 MiB 5.97 MiB 453.77 KiB
c8596a6 7.86 MiB 9.44 MiB 1.58 MiB
cc4e375 7.86 MiB 9.44 MiB 1.58 MiB

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
Copy link
Member

@markushi markushi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@denrase denrase merged commit 819c1e7 into main Sep 23, 2025
136 checks passed
@denrase denrase deleted the feat/w3c-traceparent branch September 23, 2025 09:03
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
3 participants