Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(replay): Filter Sentry event breadcrumbs #3925

Merged
merged 11 commits into from
Jul 2, 2024

Conversation

krystofwoldrich
Copy link
Member

@krystofwoldrich krystofwoldrich commented Jul 1, 2024

📢 Type of change

  • Enhancement

📜 Description

This PR removes Sentry event breadcrumbs from replays. These breadcrumbs were showing as uncategorized in the console tab. Browser replays filter these as well.

https://github.com/getsentry/sentry-javascript/blob/7b39a22b38236166ab30fa3a56575d5041c9a4f7/packages/replay-internal/src/coreHandlers/handleBreadcrumbs.ts#L41-L48

💚 How did you test it?

unit tests, sample app

📝 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
  • All tests passing
  • No breaking changes

Copy link
Contributor

github-actions bot commented Jul 1, 2024

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

Generated by 🚫 dangerJS against b8ba2e8

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 427.18 ms 472.73 ms 45.55 ms
Size 17.73 MiB 20.04 MiB 2.30 MiB

Baseline results on branch: feat/replay

Startup times

Revision Plain With Sentry Diff
376301c 445.52 ms 474.70 ms 29.18 ms
41db11d 429.33 ms 451.24 ms 21.91 ms

App size

Revision Plain With Sentry Diff
376301c 17.73 MiB 20.04 MiB 2.30 MiB
41db11d 17.73 MiB 20.04 MiB 2.30 MiB

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 385.81 ms 409.55 ms 23.74 ms
Size 7.15 MiB 8.31 MiB 1.17 MiB

Baseline results on branch: feat/replay

Startup times

Revision Plain With Sentry Diff
41db11d+dirty 374.57 ms 415.25 ms 40.68 ms
376301c+dirty 353.80 ms 388.54 ms 34.74 ms

App size

Revision Plain With Sentry Diff
41db11d+dirty 7.15 MiB 8.31 MiB 1.16 MiB
376301c+dirty 7.15 MiB 8.31 MiB 1.17 MiB

Copy link
Contributor

github-actions bot commented Jul 1, 2024

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1224.18 ms 1225.96 ms 1.77 ms
Size 2.36 MiB 3.05 MiB 702.82 KiB

Baseline results on branch: feat/replay

Startup times

Revision Plain With Sentry Diff
41db11d+dirty 1207.36 ms 1210.32 ms 2.96 ms
376301c+dirty 1215.73 ms 1219.80 ms 4.06 ms

App size

Revision Plain With Sentry Diff
41db11d+dirty 2.36 MiB 3.04 MiB 698.69 KiB
376301c+dirty 2.36 MiB 3.05 MiB 702.83 KiB

Copy link
Contributor

github-actions bot commented Jul 1, 2024

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1243.47 ms 1243.73 ms 0.27 ms
Size 2.92 MiB 3.61 MiB 710.15 KiB

Baseline results on branch: feat/replay

Startup times

Revision Plain With Sentry Diff
41db11d+dirty 1208.60 ms 1210.47 ms 1.87 ms
376301c+dirty 1224.74 ms 1227.00 ms 2.26 ms

App size

Revision Plain With Sentry Diff
41db11d+dirty 2.92 MiB 3.61 MiB 705.84 KiB
376301c+dirty 2.92 MiB 3.61 MiB 709.95 KiB

@krystofwoldrich krystofwoldrich requested a review from vaind July 1, 2024 18:52
Base automatically changed from kw/replay-touch-events-tests to feat/replay July 2, 2024 08:04
An error occurred while trying to automatically change base from kw/replay-touch-events-tests to feat/replay July 2, 2024 08:04
@krystofwoldrich krystofwoldrich merged commit b4aaa68 into feat/replay Jul 2, 2024
52 checks passed
@krystofwoldrich krystofwoldrich deleted the kw/do-not-convert-sentry-events branch July 2, 2024 08:17
bruno-garcia added a commit that referenced this pull request Jul 15, 2024
* feat(replay): Add Mobile Replay Alpha (#3714)

* feat(sample): add running indicator (animation overlay) (#3903)

* feat(replay): Add breadcrumbs mapping from RN to RRWeb format (#3846)

* feat(replay): Add network breadcrumbs (#3912)

* fix(replay): Add tests for touch events (#3924)

* feat(replay): Filter Sentry event breadcrumbs (#3925)

* fix(changelog): Add latest native SDKs details

* release: 5.25.0-alpha.2

* misc(samples): Add console anything examples for replay testing (#3928)

* feat: Add Sentry Babel Transformer (#3916)

* fix(replay): Add app lifecycle breadcrumbs conversion tests (#3932)

* chore(deps): bump sentry-android to 7.12.0-alpha.3

* chore(deps): bump sentry-android to 7.12.0-alpha.4

* fix(replay): Mask SVGs from `react-native-svg` when `maskAllVectors=true` (#3930)

* fix(replay): Add missing properties to android nav breadcrumbs (#3942)

* release: 5.26.0-alpha.3

* misc(replay): Add Mobile Replay Public Beta changelog (#3943)

---------

Co-authored-by: Ivan Dlugos <[email protected]>
Co-authored-by: Ivan Dlugos <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: getsentry-bot <[email protected]>
Co-authored-by: Roman Zavarnitsyn <[email protected]>
Co-authored-by: Bruno Garcia <[email protected]>
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.

2 participants