Comments (2)
You now have access to the beforeSend
scrubbing API starting with v2.1.0 of the Browser SDK. See how to use it in the documentation but if you really can't wait, here's an example:
window.DD_RUM &&
window.DD_RUM.init({
...,
beforeSend: (event) => {
// remove email from view url
event.view.url = event.view.url.replace(/email=[^&]*/, "email=REDACTED")
},
...
});
Thank you for your patience and let us know what you think about it :)
from browser-sdk.
Just wanted to add a thumbs up, currently the lack of this feature is blocking us from using rum 😞
from browser-sdk.
Related Issues (20)
- `beforeSend` not firing HOT 3
- 💡 Discard identical logs HOT 2
- Rollup warning: "this" has been rewritten to "undefined" HOT 3
- 💡 Log traceId at start of request HOT 1
- 🐛 Wrong city name HOT 1
- 🙏 Error thrown as console instead of source HOT 2
- 🙏🏻 Understanding Performance Implications of the NPM Installation Method HOT 2
- 🙏 Inject trace_id and span_id from OpenTelemetry into browser logs HOT 2
- outdated type definitions for `LogsInitConfiguration`
- 💡 Support Soft Navigation HOT 2
- only one between datadogRum and datadogLogs is available at a time HOT 5
- stack trace/source mapping for custom action HOT 7
- Datadog Trace Headers Not Added for Angular HttpClient Requests HOT 2
- Large number of Uncaught "Object Not Found Matching" errors HOT 1
- 💡 More attribution data for event timings and core web vitals HOT 3
- 🙏🏻 Does the sampleRate of native and webview affect each other? HOT 10
- 💡 Improvements to console forwarding HOT 1
- getSelectorFromElement scales poorly with a large DOM and ids with numbers are not used HOT 6
- 🙏 Document how action target name is computed HOT 3
- Nuxtjs application not loading Datadog RUM properly and no data is reported to Datadog HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browser-sdk.