Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ [RUM-5001] Enforce localStorage usage telemetry #238

Merged

Conversation

RomanGaignault
Copy link
Contributor

@RomanGaignault RomanGaignault commented Dec 13, 2024

As discussed we would like to enforce localstorage by allowing to select session storage

sessionStorage: ["cookie", "local-storage"] → use cookie, fallback to local storage

sessionStorage: ["local-storage"] → never use cookies

sessionStorage: [] → disable session storage

So deprecate old allow_fallback_to_local_storage and add session_storage property for telemetry

@RomanGaignault RomanGaignault requested review from a team as code owners December 13, 2024 14:08
xgouchet
xgouchet previously approved these changes Dec 16, 2024
xgouchet
xgouchet previously approved these changes Dec 17, 2024
sessionStorage is already a DOM/JS concept, so let's use something else
@BenoitZugmeyer BenoitZugmeyer merged commit adcc82d into master Jan 3, 2025
7 checks passed
@BenoitZugmeyer BenoitZugmeyer deleted the romanG/add-telemetry-enforce-local-storage-property branch January 3, 2025 15:22
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.

5 participants