Create Datadog events from dbt Cloud results
Updated
Webhooks
Advanced
Menu
- 1 Introduction
- 2 Clone the dbt-cloud-webhooks-datadog repo
- 3 Install flyctl and sign up for fly.io
- 4 Launch your fly.io app
- 5 Configure a new webhook in dbt Cloud
- 6 Store secrets
- 7 Deploy your app
Introduction
This guide will teach you how to build and host a basic Python app which will add dbt Cloud job events to Datadog. To do this, when a dbt Cloud job completes it will create a log entry for each node that was run, containing all information about the node provided by the Discovery API.
In this example, we will use fly.io for hosting/running the service. fly.io is a platform for running full stack apps without provisioning servers etc. This level of usage should comfortably fit inside of the Free tier. You can also use an alternative tool such as AWS Lambda or Google Cloud Run.
Prerequisites
This guide assumes some familiarity with:
- dbt Cloud Webhooks
- CLI apps
- Deploying code to a serverless code runner like fly.io or AWS Lambda
0