In RUM, I see that some replay sessions are created by default and some sessions are not. Is there any reason behind it?

In RUM, I see that some replay sessions are created by default and some sessions are not. Is there any reason behind it?

There is a rate of sessions that are “recorded”. This can be used to get only 20% of traffic for example (because of cost) or 100%.

Thank you. Where can change this setting. Also, how can I calculate the cost variation if I enable 100%

https://docs.datadoghq.com/real_user_monitoring/browser/ You can see here, the property sessionSampleRate

If you have 20%, you need to check your billing and then make your own calculations to get to your desired target (a x5 to “simulate” a 100% for example).

If you want 20% traffic for “behaviour” and 100% of the error logs, you can use the browser logs integration.

https://docs.datadoghq.com/logs/log_collection/javascript/

Thank you