Search

    Monitoring

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

    Content

    Dynatrace

    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

    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:

      DT_INJECTION_RULES=::INCLUDE:ENDS,NODEJS_APP_BASE_DIR,/node_modules/npm

    2. Set the environment variable before the process startup.

    Show/Hide Beta Features