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. If you've never used Buddy before, this article will show you the ropes.
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 Monitoringsection:
- 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 environmental variables)
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:
This action allows you to send the name of the pipeline to the selected Datadog account:
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\
With everything configured correctly, Buddy will update your status history with every triggered execution
If you want to add, edit or delete yet another Datadog integration, have a look at this article.