# RUM Traffic Control

**URL:** <https://community.dynatrace.com/t/rum-traffic-control/55422>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring\
**Created:** [March 31, 2026, 1:54am UTC](https://community.dynatrace.com/t/rum-traffic-control/55422 "2026-03-31T01:54:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irdina](https://avatars.discourse-cdn.com/v4/letter/i/5fc32e/32.png) [@Irdina](https://community.dynatrace.com/u/Irdina)\
**Post date:** [March 31, 2026, 1:54am UTC](https://community.dynatrace.com/t/rum-traffic-control/55422/1 "2026-03-31T01:54:41Z")

</div>

Hi Dynatrace Community !

When I reduce RUM cost using traffic control, how does Dynatrace decide which user data or sessions to capture? Is it random sampling or based on certain rules?

Thanks!

---

<div class="post-metadata">

**Author:** ![lubrman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lubrman/32/7353_2.png) [@lubrman](https://community.dynatrace.com/u/lubrman)\
**Post date:** [March 31, 2026, 5:35am UTC](https://community.dynatrace.com/t/rum-traffic-control/55422/2 "2026-03-31T05:35:12Z")

</div>

Hi  
[@Irdina](https://community.dynatrace.com/user/88823)

Unfortunately, Dynatrace controls the injection automatically. The only way to manage which group to observe is via the ruxit API.

---

<div class="post-metadata">

**Author:** ![Valent\_n](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/valent_n/32/24800_2.png) [@Valent\_n](https://community.dynatrace.com/u/Valent_n)\
**Post date:** [April 1, 2026, 12:01pm UTC](https://community.dynatrace.com/t/rum-traffic-control/55422/3 "2026-04-01T12:01:50Z")

</div>

Hello&nbsp;Irdina,

The decision is made at page load time and remains consistent for the entire user session. If a session is not selected, it is skipped entirely and no RUM data is sent or stored.

This decision is taken by the JavaScript agent, which evaluates the configured RUM traffic control settings. The session is sampled deterministically, although the exact algorithm is not publicly documented.

I hope this helps clarify the behavior.
