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.
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
- 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
- Go to the pipeline you wish to monitor and find the Datadog action in the Performance & App Monitoring section: APP monitoring actions
- Enter the name of your integration and paste the API Key token.
- 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:
OK– at the very end of the pipeline (sent only if all actions have finished successfully)
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
Last modified on April 26, 2022