When a new version of Dynatrace OneAgent becomes available, you need to restage your Cloud Foundry application using
cf restage <app_name>. The Cloud Foundry buildpack will automatically fetch the latest version of Dynatrace OneAgent. Following restage, your Cloud Foundry apps will be monitored with the latest version of OneAgent.
If you've specified a default OneAgent installation version for new hosts and applications in your OneAgent updates settings, the Cloud Foundry buildpack will automatically fetch the defined default version of Dynatrace OneAgent.