Configure Datadog to monitor Scalingo applications

Integration Purposes

Datadog is a SaaS product helping you to monitor your web applications. It requires the Datadog agent to be run so that it sends monitoring data to the service. You can eventually build dashboards to visualize the different information gathered and get a better understanding of your application resources consumption.

Configuration of your Application on Scalingo

In order to install the Datadog agent, you must use a specific buildpack. Hence you need to configure your application to use a multi buildpack.

In the .buildpacks file at the root of your project, add the buildpack in first position. Then add your language specific buildpack.

For example, the content of the file .buildpacks for a Node.js application should be:

The Datadog buildpack is configurable through various environment variables. The only mandatory one is DD_API_KEY available from the Datadog API integrations page. You can have a look at the buildpack’s README for a comprehensive list of available configuration options.

The PHP buildpack contains some specific possibilities. With this buildpack, you can make use of the Datadog Tracer and AppSec extensions. More information in the dedicated page.

Suggest edits

Configure Datadog to monitor Scalingo applications

©2024 Scalingo