OneAgent has a built-in, configurable auto-update mechanism.
With auto-update enabled, you don't have to worry about manually updating the OneAgents running in your environment. Each time a new version is released, OneAgent automatically downloads all necessary binaries and libraries and installs them for you. No manual configuration is required.
Following OneAgent automatic updates, you do need to restart all server processes. This is because some components of OneAgent keep running in processes that are monitored by Dynatrace (for example, Java, .NET, Apache, and IIS).
By default, global automatic OneAgent updates are turned on, but this is configurable at the global, host group, and host level. At each level, you can choose one of the following OneAgent update strategies:
Additionally:
Host settings override host group settings, and host group settings override global settings.
In addition to the Dynatrace web UI procedures described here, you can use the OneAgent configuration API to manage OneAgent updates.
OneAgent won't automatically be updated when first installed. By default, Dynatrace waits 45 minutes before updating hosts (both EC2 and non-EC2).
To check environment-level auto-update settings, go to
Settings > Fleet management > OneAgent version and updates.
The real user monitoring JavaScript library auto-update setting is separate; go to
Settings > Collect and capture > Real User Monitoring > Enablement and cost control.
Go to
Settings > Fleet management > OneAgent version and updates. The page has two tabs: Configure updates and Manage update windows.
On the Configure updates tab, the Version management section controls which version OneAgents update to.
Use the Target version dropdown to set the version that serves as the default for new deployments and as the update target for existing OneAgents. Choose a rolling version policy (Latest version, Previous version, or Older version) or pin a specific version.
The Update management section controls when updates are applied. Use the Update mode dropdown to select one of the following options:
For host-group- or host-level overrides, open Configure updates from the entity's details in
Fleet Management.
Update windows currently do not apply in Kubernetes environments.
Update windows are used to schedule automatic OneAgent updates when the Update mode is set to Auto-update during update windows under Update management.
To view and manage update windows, go to
Settings > Fleet management > OneAgent version and updates and select the Manage update windows tab. The list shows each window's name, recurrence, start time, timezone, duration, and validity period.
1 = every day, 2 = every two days, and so on).On the Manage update windows tab, use the status toggle in the Status column to enable or disable individual update windows.
On the Manage update windows tab, open the menu next to the update window and select Edit or Delete.
We don't recommend that you disable OneAgent automatic updates. If you have very strict software rollout rules, however, you can disable auto-updates permanently with the OneAgent command-line interface.
For troubleshooting, you can temporarily disable automatic updates in Dynatrace at
Settings > Fleet management > OneAgent version and updates.