跳到主要内容

Datadog integration

Learn about how Buddy integrates with Datadog and how you can use it to your advantage

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. Learn how to seamlessly introduce Buddy to your development workflow.

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 environment variables)Configuring Datadog

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