With Dynatrace Session Replay, stylesheets are captured and stored during user session recording. You don't have to keep your CSS files at a publicly accessible location, mark the resources as modified, or give permissions to a process that can access the protected stylesheets. It's an entirely automated process that ensures that resources are captured and made available for future replay.
Resource capture for Session Replay is activated by default.
To activate and configure resource capture
Go to Web.
Select the application that you want to configure.
In the upper-right corner of the application overview page, select More (…) > Edit.
From the application settings, select Capturing > Resource capture for Session Replay.
Turn on Enable resource capture.
Optional To avoid capturing resources for certain pages, select Add exclusion rule, enter a regular expression, and then select Add rule.
The exclusion rules are processed as follows.
See the formula and example below to calculate the number of user sessions for which Dynatrace captures resources.
Sessions with captured resources = Total sessions × RUM cost and traffic control × Session Replay cost and traffic control × 0.1%
| Parameter | Explanation | Example value |
|---|---|---|
Total sessions | Total number of user sessions in your application | 1,000,000 |
Percentage of user sessions captured and analyzed with RUM | 50% | |
Percentage of user sessions recorded with Session Replay | 10% |
In our example, resources are captured for 50 user sessions (1,000,000 × 50% × 10% × 0.1% = 50).