You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is possible to redact part of the URL for Errors and Transactions using addGlobalEventProcessor to modify event.request.url and event.request.headers.
For example, if the URL is /Redactme-xyz, this can be changed to /[REDACTED]-xyz.
However, this does not seem to work for Session Replays.
The requirement is for the addGlobalEventProcessor configuration to apply to Session Replays or to have a separate data scrubbing option in place to scrub/redact this data.
Solution Brainstorm
No response
Product Area
Replays
The text was updated successfully, but these errors were encountered:
Allows you to modify/filter custom recording events for replays. Note this is only a recording event, not the replay event. Custom means that the events do not relate or affect the DOM recording, but rather they are additional events that the Replay integration adds for additional features.
This adds an option for the Replay integration `beforeAddRecordingEvent` to process a recording (rrweb) event before it is added to the event buffer. Example:
```javascript
new Sentry.Replay({
beforeAddRecordingEvent: (event) => {
// Filter out specific events
if (event.data.tag === 'foo') {
return null;
}
// Remember to return an event if you want to keep it!
return event;
}
});
```
Closes#8127
Problem Statement
Currently, it is possible to redact part of the URL for Errors and Transactions using
addGlobalEventProcessor
to modifyevent.request.url
andevent.request.headers
.For example, if the URL is
/Redactme-xyz
, this can be changed to/[REDACTED]-xyz
.However, this does not seem to work for Session Replays.
The requirement is for the addGlobalEventProcessor configuration to apply to Session Replays or to have a separate data scrubbing option in place to scrub/redact this data.
Solution Brainstorm
No response
Product Area
Replays
The text was updated successfully, but these errors were encountered: