sentry-java
sentry-java copied to clipboard
Add option to mask widgets by package name
:scroll: Description
Extends SentryReplayOptions to allow package names for masking.
:bulb: Motivation and Context
Implements https://github.com/getsentry/sentry-java/issues/4393
:green_heart: How did you test it?
Added tests
:pencil: Checklist
- [ ] I added tests to verify the changes.
- [ ] No new PII added or SDK only sends newly added PII if
sendDefaultPIIis enabled. - [ ] I updated the docs if needed.
- [ ] I updated the wizard 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.
:crystal_ball: Next steps
| Fails | |
|---|---|
| :no_entry_sign: | Please consider adding a changelog entry for the next release. |
| Messages | |
|---|---|
| :book: | Do not forget to update Sentry-docs with your feature once the pull request gets approved. |
Instructions and example for changelog
Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.
Example:
## Unreleased
- Add option to mask widgets by package name ([#4553](https://github.com/getsentry/sentry-java/pull/4553))
If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.
Generated by :no_entry_sign: dangerJS against 9dd6fec9ee3b87c7663c976f5c06dbb0497916ab
Performance metrics :rocket:
| Plain | With Sentry | Diff | |
|---|---|---|---|
| Startup time | 404.96 ms | 424.84 ms | 19.89 ms |
| Size | 1.58 MiB | 2.09 MiB | 519.54 KiB |
Previous results on branch: feat/session-replay-package-wildcard-masking
Startup times
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| e10da9705fdbed2ac430c64e7aa3524328aead50 | 474.30 ms | 530.52 ms | 56.22 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| e10da9705fdbed2ac430c64e7aa3524328aead50 | 1.58 MiB | 2.09 MiB | 519.45 KiB |