Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: Send Sentry react-native SDK version in the session replay event #4450

Merged
merged 6 commits into from
Jan 22, 2025

Conversation

brustolin
Copy link
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Sending the version and sdk name in the session replay event to show up at Tags tab.

📝 Checklist

  • 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.
  • I updated the wizard if needed.
  • All tests passing
  • No breaking changes

🔮 Next steps

Copy link
Contributor

github-actions bot commented Jan 15, 2025

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

Generated by 🚫 dangerJS against 7e5e695

Copy link
Contributor

github-actions bot commented Jan 15, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 402.35 ms 441.32 ms 38.96 ms
Size 7.15 MiB 8.38 MiB 1.23 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
4cc5c27+dirty 398.36 ms 452.50 ms 54.14 ms
d7401ac+dirty 373.98 ms 394.08 ms 20.10 ms
9282172+dirty 363.57 ms 399.78 ms 36.20 ms
22e31b6+dirty 295.75 ms 346.73 ms 50.98 ms
13f280b+dirty 376.13 ms 406.41 ms 30.28 ms
75774ea+dirty 426.80 ms 455.43 ms 28.62 ms
0db0c72+dirty 335.20 ms 351.06 ms 15.86 ms
9c48b2c+dirty 270.82 ms 321.12 ms 50.30 ms
728164b+dirty 335.93 ms 342.94 ms 7.01 ms
57448c5+dirty 397.05 ms 462.65 ms 65.60 ms

App size

Revision Plain With Sentry Diff
4cc5c27+dirty 7.15 MiB 8.22 MiB 1.07 MiB
d7401ac+dirty 7.15 MiB 8.04 MiB 910.85 KiB
9282172+dirty 7.15 MiB 8.37 MiB 1.22 MiB
22e31b6+dirty 7.15 MiB 8.10 MiB 981.29 KiB
13f280b+dirty 7.15 MiB 8.35 MiB 1.20 MiB
75774ea+dirty 7.15 MiB 8.36 MiB 1.21 MiB
0db0c72+dirty 7.15 MiB 8.04 MiB 911.02 KiB
9c48b2c+dirty 7.15 MiB 8.07 MiB 947.16 KiB
728164b+dirty 7.15 MiB 8.12 MiB 997.71 KiB
57448c5+dirty 7.15 MiB 8.35 MiB 1.20 MiB

Copy link
Contributor

github-actions bot commented Jan 15, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 509.66 ms 560.85 ms 51.19 ms
Size 17.75 MiB 20.11 MiB 2.36 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
83f6f6c 418.83 ms 410.94 ms -7.89 ms
8fe7c9d 437.52 ms 426.42 ms -11.10 ms
c639edf 466.48 ms 489.57 ms 23.09 ms
70caa60+dirty 299.00 ms 321.02 ms 22.02 ms
d8e8c67 448.79 ms 438.70 ms -10.09 ms
1d86dd6 405.14 ms 411.06 ms 5.92 ms
22e31b6 396.48 ms 419.64 ms 23.16 ms
e540498 436.26 ms 433.00 ms -3.26 ms
b1e8712 462.11 ms 465.71 ms 3.60 ms
4297324 536.61 ms 542.48 ms 5.87 ms

App size

Revision Plain With Sentry Diff
83f6f6c 17.74 MiB 20.09 MiB 2.35 MiB
8fe7c9d 17.75 MiB 20.11 MiB 2.36 MiB
c639edf 17.74 MiB 20.08 MiB 2.34 MiB
70caa60+dirty 17.73 MiB 19.75 MiB 2.01 MiB
d8e8c67 17.74 MiB 20.10 MiB 2.36 MiB
1d86dd6 17.73 MiB 19.86 MiB 2.12 MiB
22e31b6 17.73 MiB 19.84 MiB 2.10 MiB
e540498 17.73 MiB 20.11 MiB 2.37 MiB
b1e8712 17.73 MiB 19.75 MiB 2.02 MiB
4297324 17.74 MiB 20.08 MiB 2.34 MiB

Copy link
Collaborator

@antonis antonis left a comment

Choose a reason for hiding this comment

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

LGTM and aligned with the REACT_NATIVE_SDK_NAME on Android 🎉

Copy link
Contributor

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1238.55 ms 1238.82 ms 0.27 ms
Size 2.63 MiB 3.69 MiB 1.05 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
457e29f+dirty 1253.94 ms 1269.18 ms 15.24 ms
ac41368+dirty 1226.65 ms 1237.90 ms 11.24 ms
9cab16b+dirty 1237.76 ms 1234.00 ms -3.76 ms
2ec71da+dirty 1225.85 ms 1231.57 ms 5.72 ms
3ffcddd+dirty 1244.47 ms 1264.14 ms 19.67 ms
0db0c72+dirty 1275.02 ms 1285.84 ms 10.82 ms
9433f35+dirty 1246.94 ms 1271.45 ms 24.52 ms
acadc0f+dirty 1264.38 ms 1290.06 ms 25.68 ms
f54118b+dirty 1232.98 ms 1235.73 ms 2.76 ms
5446992+dirty 1273.28 ms 1276.68 ms 3.40 ms

App size

Revision Plain With Sentry Diff
457e29f+dirty 2.36 MiB 2.87 MiB 520.67 KiB
ac41368+dirty 2.36 MiB 3.14 MiB 793.46 KiB
9cab16b+dirty 2.36 MiB 3.08 MiB 737.23 KiB
2ec71da+dirty 2.36 MiB 3.13 MiB 784.66 KiB
3ffcddd+dirty 2.36 MiB 2.84 MiB 489.60 KiB
0db0c72+dirty 2.36 MiB 2.84 MiB 487.01 KiB
9433f35+dirty 2.36 MiB 2.85 MiB 499.80 KiB
acadc0f+dirty 2.36 MiB 2.83 MiB 480.37 KiB
f54118b+dirty 2.36 MiB 3.10 MiB 757.51 KiB
5446992+dirty 2.36 MiB 2.88 MiB 531.94 KiB

Copy link
Contributor

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1238.39 ms 1240.17 ms 1.78 ms
Size 3.19 MiB 4.25 MiB 1.06 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
457e29f+dirty 1256.71 ms 1258.50 ms 1.79 ms
ac41368+dirty 1226.69 ms 1229.96 ms 3.27 ms
9cab16b+dirty 1236.10 ms 1247.16 ms 11.06 ms
2ec71da+dirty 1230.29 ms 1239.50 ms 9.21 ms
3ffcddd+dirty 1272.22 ms 1273.98 ms 1.76 ms
0db0c72+dirty 1258.88 ms 1262.52 ms 3.64 ms
9433f35+dirty 1232.24 ms 1232.74 ms 0.50 ms
acadc0f+dirty 1271.12 ms 1272.28 ms 1.16 ms
f54118b+dirty 1235.42 ms 1236.80 ms 1.38 ms
5446992+dirty 1249.94 ms 1254.80 ms 4.86 ms

App size

Revision Plain With Sentry Diff
457e29f+dirty 2.92 MiB 3.43 MiB 524.75 KiB
ac41368+dirty 2.92 MiB 3.69 MiB 794.29 KiB
9cab16b+dirty 2.92 MiB 3.64 MiB 743.06 KiB
2ec71da+dirty 2.92 MiB 3.69 MiB 791.06 KiB
3ffcddd+dirty 2.92 MiB 3.40 MiB 494.39 KiB
0db0c72+dirty 2.92 MiB 3.40 MiB 492.71 KiB
9433f35+dirty 2.92 MiB 3.41 MiB 503.55 KiB
acadc0f+dirty 2.92 MiB 3.39 MiB 487.34 KiB
f54118b+dirty 2.92 MiB 3.67 MiB 770.05 KiB
5446992+dirty 2.92 MiB 3.44 MiB 535.26 KiB

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you.

But let's wait until the cocoa changes need for this are approved and released.

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you.

But let's wait until the cocoa changes need for this are approved and released.

@krystofwoldrich krystofwoldrich merged commit 1ace28c into main Jan 22, 2025
71 checks passed
@krystofwoldrich krystofwoldrich deleted the feat/set-replay-sdk-info branch January 22, 2025 13:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants