{"id":23886147,"url":"https://github.com/dpguthrie/dbt-cloud-webhooks-datadog","last_synced_at":"2026-06-24T09:33:22.930Z","repository":{"id":102289868,"uuid":"595268063","full_name":"dpguthrie/dbt-cloud-webhooks-datadog","owner":"dpguthrie","description":"Send dbt Cloud run results / metadata to datadog","archived":false,"fork":false,"pushed_at":"2023-01-30T19:18:08.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T03:28:55.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpguthrie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-30T18:33:40.000Z","updated_at":"2024-09-11T09:13:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e4d2635-71bd-4927-8ec1-c8de9105cc97","html_url":"https://github.com/dpguthrie/dbt-cloud-webhooks-datadog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dpguthrie/dbt-cloud-webhooks-datadog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpguthrie%2Fdbt-cloud-webhooks-datadog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpguthrie%2Fdbt-cloud-webhooks-datadog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpguthrie%2Fdbt-cloud-webhooks-datadog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpguthrie%2Fdbt-cloud-webhooks-datadog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpguthrie","download_url":"https://codeload.github.com/dpguthrie/dbt-cloud-webhooks-datadog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpguthrie%2Fdbt-cloud-webhooks-datadog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-04T05:56:56.532Z","updated_at":"2026-06-24T09:33:22.925Z","avatar_url":"https://github.com/dpguthrie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dbt Cloud Webhooks - Datadog\n\n## Overview\n\nThis repo contains code to send data retreived from dbt Cloud's [Metadata API](https://docs.getdbt.com/docs/dbt-cloud-apis/metadata-api) and submit it as logs to datadog after receiving a webhook from dbt Cloud indicating run completion.  \n\n## Requirements\n\nPython 3.7+\n\n- [datadog-api-client](https://github.com/DataDog/datadog-api-client-python) - Python API client for the [Datadog API](Datadog API)\n- [dbtc](https://dbtc.dpguthrie.com) - Unofficial python interface to dbt Cloud APIs\n- [FastAPI](https://fastapi.tiangolo.com) - Modern, fast, web framework for building APIs with Python 3.7+\n- [uvicorn](https://uvicorn.org) - ASGI web server implementation for Python \n\n## Getting Started\n\nClone this repo\n\n```bash\ngit clone https://github.com/dpguthrie/dbt-cloud-webhooks-datadog.git\n```\n\n## Deploy on fly.io (Optional)\n\n[fly.io](https://fly.io) is a platform for running full stack apps and databases close to your users.\n\n### Install\n\nDirections to install [here](https://fly.io/docs/hands-on/install-flyctl/)\n\nOnce installed, sign up for fly.io\n\n```bash\nflyctl auth signup\n```\n\nNow sign in\n\n```bash\nflyctl auth login\n```\n\nLaunch your app!\n\n```bash\nflyctl launch\n```\n\n### Secrets\n\nThe following secrets need to be configured to your runtime environment for your application to work properly.\n\n- `DBT_CLOUD_AUTH_TOKEN` - This is the secret key that's shown after initailly creating your webhook subscription in dbt Cloud\n- `DBT_CLOUD_SERVICE_TOKEN` - Generate a [service token](https://docs.getdbt.com/docs/dbt-cloud-apis/service-tokens#generating-service-account-tokens) in dbt Cloud.  Ensure that it has at least the `Metadata Only` permission as we will be making requests against the Metadata API.\n- `DD_API_KEY` - [Datadog API Key](https://docs.datadoghq.com/account_management/api-app-keys/)\n- `DD_SITE` - This is the datadog site (e.g. `datadoghq.com`)\n\nTo set a secret in your fly.io app, do the following:\n\n```bash\nflyctl secrets set DBT_CLOUD_AUTH_TOKEN=***\n```\n\nOr set them all at once:\n\n```bash\nflyctl secrets set DBT_CLOUD_AUTH_TOKEN=*** DBT_CLOUD_SERVICE_TOKEN=*** DD_API_KEY=*** DD_SITE=***\n```\n\n### Other Helpful Commands\n\nCheck the secrets set in your app\n\n```bash\nflyctl secrets list\n```\n\nMonitor your app\n\n```bash\nflyctl monitor\n```\n\nOpen browser to currently deployed app\n\n```bash\nflyctl open\n```\n\n## Other Deploy Options\n\n- [AWS Lambda Example](https://adem.sh/blog/tutorial-fastapi-aws-lambda-serverless)\n- [Google Cloud Run Example](https://github.com/sekR4/FastAPI-on-Google-Cloud-Run)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpguthrie%2Fdbt-cloud-webhooks-datadog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpguthrie%2Fdbt-cloud-webhooks-datadog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpguthrie%2Fdbt-cloud-webhooks-datadog/lists"}