Request for destroy/stop method
See original GitHub issueThere is a scenario where I’ve come across where based on user cookie preferences, it would be ideal if datadogRum could be toggled on/off in a browser session. There looks like there is no API for something like stop
, destroy
, or uninitialized
.
This would facilitate a good user experience without an interrupting full page refresh especially in SPAs.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:18 (4 by maintainers)
Top Results From Across the Web
Thread Methods destroy() and stop(Throwable) Removed in ...
The destroy() method has never done anything except throw the NoSuchMethodError and the stop(Throwable) method hasn't done anything except ...
Read more >IBM WebSphere Application Server Performance Cookbook
There are many ways to request a heap dump depending on your Java vendor (and further ... The java/lang/Thread methods destroy, stop, and...
Read more >Changesets • Documentation • Transitland
A changeset is the way to create, edit, and delete data in the Transitland Datastore. ... Make sure to include an API key...
Read more >ApplicationStatistics (Jersey 2.6 API) - javadoc.io
Monitoring statistics and configuration of an application. ... To retrieve the immutable and consistent statistics data the method snapshot() should be used ...
Read more >Connection between activity and layout? How to change ...
xml ? Is this correct? Is there any better way to do this? How can I (by which method) destroy/stop a certain activity ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 for the stop() method
Also on the same topic (cookie preferences management) but different solution:
if the datadogRum had a
privacyMode
which didn’t set or read cookies, it could still be run in most cases where cookie consent is not given. Some SDK offer methods to set consent so that they can change the behaviour depending on it - it would be great to have something like this.@BenoitZugmeyer the use case is for when the user withdraws consent (via consent management pop up) after previously having consented. It’s valid that data before them withdrawing consent should be sent to datadog - but we want to stop any additional data being sent while they are still on that page (particularly pertinent for SPA where you don’t get full page refreshes very often) A workaround could be to force a page refresh if a user edits their consent settings but this adds friction