Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented Nov 6, 2024

📜 Description

  • Add beforeSendReplay callback to allow attaching tags and modifying/dropping events analogous to beforeSend

💡 Motivation and Context

Part of getsentry/sentry#74441

💚 How did you test it?

Automated

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • [] I updated the docs if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Docs

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 413.47 ms 471.02 ms 57.55 ms
Size 1.70 MiB 2.35 MiB 669.38 KiB

Previous results on branch: rz/feat/session-replay-before-send

Startup times

Revision Plain With Sentry Diff
debde9e 441.62 ms 480.76 ms 39.14 ms
d16afa9 356.98 ms 394.89 ms 37.91 ms

App size

Revision Plain With Sentry Diff
debde9e 1.70 MiB 2.35 MiB 668.66 KiB
d16afa9 1.70 MiB 2.35 MiB 668.62 KiB

Base automatically changed from rz/feat/session-replay-rate-limiting to main November 15, 2024 15:45
@romtsn romtsn enabled auto-merge (squash) November 15, 2024 16:38
@romtsn romtsn merged commit 0438c6f into main Nov 15, 2024
30 of 32 checks passed
@romtsn romtsn deleted the rz/feat/session-replay-before-send branch November 15, 2024 16:56
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