Describes how you can retrieve the performance statistics for each request to a service.



    Node.js and Java

    To monitor performance-relevant metrics with Dynatrace, you need to create a user-provided service in Cloud Foundry and bind it to your service as described in the Dynatrace documentation.


    Dynatrace Database Statements

    To track database requests for the Node.js runtime, you need to add dependency @dynatrace/oneagent-sdk to your project. The functionality was verified with version 1.2 of the SDK.

    Known Issues

    The OneAgent isn’t properly injected into the service, if a Node.js applications is started via npm. In those cases you won’t see your service in Dynatrace but the logs will show that it was installed and injected properly.

    1. Add an environment variable to your service:


    2. Set the environment variable before the process startup.

    Show/Hide Beta Features