Page last updated:
This topic describes how to set up monitoring for your Pivotal Web Services (PWS) app using Dynatrace OneAgent.
As a PWS user, you can use Dynatrace OneAgent to monitor your apps to improve performance. Dyntrace OneAgent gives you visibility into app performance without modifying code. For example, you can pinpoint bottlenecks in your app or determine sources of latency.
PWS provides buildpacks for many common programming languages and frameworks, such as Java and Node.js.
For the list of supported buildpacks, see Supported Cloud Foundry buildpacks.
PWS allows you to connect apps with third-party tools and other external resources by means of services. On PWS, service instances hold the credentials that are required to connect to such resources. You use this same approach to connect your apps with Dynatrace OneAgent.
As a PWS user, you need to define this service instance by creating a user-provided service.
To create a user-provided service for Dynatrace OneAgent, do the following:
Generate a PaaS token for your Dynatrace OneAgent environment.
See Generate PaaS token in the Dynatrace documentation.
Create a Dynatrace service on PWS using Option 1: Create a User-Provided Service.
Note: Option 1: Create a User-Provided Service is the only choice that works in PWS.
Bind the created Dynatrace service to your app.
For detailed instructions, see How do I monitor Cloud Foundry applications? in the Dynatrace documentation.
When a new version of Dynatrace OneAgent becomes available,
then restart your PWS app using
cf restage APP-NAME.
The Cloud Foundry buildpack automatically fetches the latest version of Dynatrace OneAgent. After restart, your Cloud Foundry apps are monitored with the latest version of Dynatrace OneAgent.