Update OneAgent on Cloud Foundry for application-only monitoring

When a new version of Dynatrace OneAgent becomes available, you need to restart your Cloud Foundry application using cf restage <app_name>. The Cloud Foundry buildpack will automatically fetch the latest version of Dynatrace OneAgent. Following restart, 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.