Skip to content

Commit 8b65a6b

Browse files
Add deterministic sampling cost warning to browser SDK v7 upgrade guide (#37609)
* Add deterministic sampling cost warning to browser SDK v7 upgrade guide * Address PR review: fix style issues in deterministic sampling warning
1 parent 997675a commit 8b65a6b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/en/real_user_monitoring/guide/browser-sdk-upgrade.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ The system that tracks sessions has been rewritten to improve data reliability a
3232

3333
Previously, the sampling decision was made once at session creation and persisted. In v7, it is computed on demand from the session ID and sample rate, making it consistent regardless of which page initializes the SDK. If you use different sampling rates across pages, those rates are applied consistently.
3434

35+
<div class="alert alert-warning">Upgrading to v7 introduces deterministic sampling for distributed traces based on the RUM session ID. As a result, under RUM without Limits&trade;, the likelihood of indexing sessions that had sampled associated traces is significantly increased. More traces are retained by your existing Cross-Product Retention Filters, even without any configuration change.<br><br>If you have cross-product Retention Filters (for example, RUM-linked APM traces), you may see an <strong>increase in the volume of indexed spans</strong>, which could lead to <strong>higher costs</strong>. Review your Retention Filter configuration and estimated span volume after upgrading.</div>
36+
3537
#### Session store key renamed
3638

3739
The session storage key has changed from `_dd_s` to `_dd_s_v2` because the new session manager uses an incompatible storage format. On upgrade, existing sessions are automatically migrated from `_dd_s`.

0 commit comments

Comments
 (0)