This page describes the prerequisites and the procedure for enabling Session Replay.
Ensure that your system meets the following requirements:
You must store the Session Replay data in a different volume, known as the secondary disk. Therefore, every node in the cluster must have such a volume allocated to it.
Most sessions are estimated to be around 500 kB, the default data retention period is 35 days, and it is always good to have some buffer. Using these estimates, Dynatrace recommends that you calculate the secondary storage size by applying the following formula:
Storage size =
Sessions per day × Average session size (500 kB) × Percentage of sessions to record × Retention period (35) × Buffer (1.5)
To configure the secondary disk
transaction
directory resides at /mnt1/dynatrace/transaction
, the session_replay
directory should reside at /mnt2/dynatrace/session_replay
.dynatrace:dynatrace
user.SERVER_REPLAY_DATASTORE_PATH
property in the /etc/dynatrace.conf
file to the directory you mounted in Step 1. For example, SERVER_REPLAY_DATASTORE_PATH = /mnt2/dynatrace/session_replay
.reconfigure.sh
file. The path of this file depends on the environment. An example command is [Path]/dynatrace/install/dynatrace-managed/installer/reconfigure.sh
.Dynatrace Managed is reconfigured and restarted. Upon restart, the new Session Replay storage location is used.
To enable Session Replay
After you've enabled Session Replay, it's time to configure it.
No additional configuration is required to set up agentless monitoring.