Dynatrace

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 Buildpacks Supported by Dynatrace OneAgent

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.

Create and Bind a Dynatrace Service in your PWS Environment

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:

  1. Generate a PaaS token for your Dynatrace OneAgent environment.

    See Generate PaaS token in the Dynatrace documentation.

  2. Create a Dynatrace service on PWS using Option 1: Create a User-Provided Service.

    See Create a Dynatrace service in your Cloud Foundry environment.

    Note: Option 1: Create a User-Provided Service is the only choice that works in PWS.

  3. Bind the created Dynatrace service to your app.

    See Bind Dynatrace service to your application.

For detailed instructions, see How do I monitor Cloud Foundry applications? in the Dynatrace documentation.

Update Dynatrace OneAgent on PWS

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.

Support

Contacting Service Providers for Support

Create a pull request or raise an issue on the source for this page in GitHub