OneAgent files and disk space requirements on Linux

This page provides information about the OneAgent directory structure and disk space requirements for OneAgent full-stack installation and updates. Note that exact values may vary based on OneAgent version.

Full-stack and Infrastructure Monitoring mode

The same disk space requirements apply to both Full-stack and Infrastructure monitoring modes.

OneAgent directories and their sizes

Linux (x86)
Linux (ppcle)
Linux (s390)
Default directory
Can be modified?
Size of installation
~1 GB
410 MB
145 MB
/opt/dynatrace/oneagent
Yes 1
Persistent configuration
~5 MB
~5 MB
~5 MB
/var/lib/dynatrace/oneagent/agent/config
No
Temporary files, runtime configuration
200 MB
200 MB
200 MB
/var/lib/dynatrace/oneagent/agent/runtime
No
Logs
1 GB
1 GB
1 GB
/var/log/dynatrace/oneagent 2
Yes 3
Crash reports, memory dumps
3 GB
3 GB
3 GB
/var/lib/dynatrace/oneagent/datastorage
Yes 4
EEC logs retransmission persistence file
2 GB
2 GB
2 GB
/var/lib/dynatrace/oneagent/agent/runtime
Yes 5
Additional space required for updates
1.9 GB
728 MB
226 MB
Total
9.1 GB
7.3 GB
6.6 GB
1

Use the INSTALL_PATH installation parameter.

2

For OneAgent version 1.201 and earlier, the default location for log files is /opt/dynatrace/oneagent/log.

3

Use the LOG_PATH installation parameter.

4

Use the DATA_STORAGE installation parameter.

5

Applicable only if you use Dynatrace Extensions that define the log metrics, events, or add their own log processing rules. Can be changed via support request.

For a complete list of files and directories added to your system by OneAgent, see OneAgent security on Linux.

OneAgent files aging mechanism

OneAgent in full-stack monitoring mode uses a built-in aging mechanism to ensure that the OneAgent files, including log files and runtime data, are kept within a reasonable size. For more information, see OneAgent file aging mechanism.

Dynatrace Managed self-monitoring

OneAgent self-monitoring for Dynatrace Managed requires 4.8 GB of disk space on Linux. For more information, see the directory structure of Dynatrace Managed.

Space required for updates

When calculating the space required for updates, we take into account the installer file size and the size of the installation process, that is the space required to deploy OneAgent files.

The figures provided below are examples and should be used as a general guide. For the accurate size of installation, see the Size of installation in the OneAgent directories and their sizes section.

Linux (x86)
Linux (ppcle)
Linux (s390)
Installer file size
175 MB
63 MB
27 MB
Installation process size
1.54 GB
600 MB
226 MB

Additional space required for updates is calculated using the 10% safety margin:

(installer file size + size of the installation process) * 1.1

Size of the installation process

The size of the installation process is calculated as follows:

3 * installer file size + size of the installation

The installer size must be multiplied by 3 to account for:

  • Downloaded installer file (/var/lib/dynatrace/oneagent)
  • Archive, which is separated from the installer script (/opt/dynatrace/oneagent)
  • Unpacked external TAR (/opt/dynatrace/oneagent)

In terms of space requirements, there's no real difference between manual installation of the new version (when an older version is already installed), automatic update, and updates that are triggered by restarting the OneAgent container. In all these cases, the installation process is performed exactly the same way. What differs is the method through which the update is triggered.