Datadog integration

Using Datadog integration will allow you to send deployment details and compare the results with Datadog metrics in order to narrow down the sources of performance issues your deployment might encounter.

Pipeline example

Buddy is a pipeline delivery automation tool that integrates with Datadog and other monitoring services. If you've never used Buddy before, this article will show you the ropes.

Setting up Datadog stream integration

  1. To begin using Datadog you first need API Key token from the monitoring service. You can find it in Integrations -> APIs section of your Datadog account
  2. Go to the pipeline you wish to monitor and find the Datadog action in the Performance & App Monitoring section: APP monitoring actions
  3. Enter the name of your integration and paste the API Key token.
  4. Configure your action. Enter the Event title and Content fields (you can use environmental variables)Configuring Datadog

The full list of supported variables is available here.

Setting up Datadog Service Check integration

Select Datadog Service Check action from Performance & App Monitoring section: Datadog Service Check action

This action allows you to send the name of the pipeline to the selected Datadog account: Datadog Service Check configuration

Although the monitor scope (host) is limited to a specific pipeline, you can add tags within the Datadog panel with information about the workspace and the project where the pipeline is located.

Since the forwarded status is fixed and cannot be changed, make sure to add the action at the multiple stages of the pipeline:

  • Status: OK – at the very end of the pipeline (sent only if all actions have finished successfully)
  • Status: WARNING – in the ‘On failure’ section (sent only if something went wrong\

Example pipeline using Datadog

With everything configured correctly, Buddy will update your status history with every triggered execution

Datadog statistics page

If you want to add, edit or delete yet another Datadog integration, have a look at this article.