Hi Community,
I’m trying to better understand how Dynatrace RUM Classic handles session sampling, particularly the relationship between Traffic Control, Overload Prevention, and the server-delivered multiplicity (mp) value.
According to the documentation, both mechanisms reduce the number of captured user sessions:
-
Traffic Control allows administrators to configure the percentage of sessions to capture.
-
Overload Prevention dynamically reduces captured sessions when the environment exceeds its configured user-actions-per-minute limit.
The documentation also states that overload prevention excludes entire sessions to preserve the statistical representativeness of rate metrics.
This raises a few questions:
1. Do both mechanisms use the same session-selection algorithm?
If Traffic Control is configured to capture 50% of sessions, and Overload Prevention dynamically reduces capture to 50%, is the underlying session-selection algorithm the same?
Or does Overload Prevention use a different approach to deciding which sessions are excluded?
2. How are the two mechanisms combined?
For example, if Traffic Control is configured to 100% but Overload Prevention reduces the analyzed-session percentage to 80%, how is the effective capture decision calculated?
Are these independent sequential checks, or does Dynatrace calculate a combined effective sampling rate?
3. What exactly does multiplicity (mp) represent?
In iOS OneAgent diagnostic logs, I’ve observed sessions receiving mp=0 and mp=2.
A session receiving mp=0 becomes inactive, and its recovered crash report is skipped.
I’m particularly interested in understanding:
-
How does the server calculate multiplicity?
-
Does
mpparticipate in session selection, statistical extrapolation, or both? -
What does a positive value such as
mp=2represent? -
How does multiplicity relate to Traffic Control and Overload Prevention?
4. How is statistical representativeness preserved?
The documentation states that rate metrics, such as crash rate, should remain statistically representative when Overload Prevention excludes entire sessions.
Does this rely on random session selection, weighted sampling, or another algorithm?
I’m looking specifically for the documented or confirmed internal behavior of RUM Classic, ideally for Dynatrace Managed.
I have reviewed the following references:
These explain the purpose and observable effects of the mechanisms, but I haven’t found a detailed explanation of how the algorithms interact.
I’d appreciate any technical insights or additional documentation.
Thanks!
Regards, Deni