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
/var/lib/dynatrace/oneagent/agent/config
/var/lib/dynatrace/oneagent/agent/runtime
Use the INSTALL_PATH installation parameter.
For OneAgent version 1.201 and earlier, the default location for log files is /opt/dynatrace/oneagent/log
.
Use the LOG_PATH installation parameter.
Use the DATA_STORAGE installation parameter.
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.
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.