DATA OPS

File Linear Bugs from dbt Failures Seen in Datadog

Watches Datadog for dbt run-failure events and automatically opens a Linear issue in the owning team's project.

CategoryData Ops
Enginesim
Difficultyintermediate
Triggerevent
Steps4
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDatadog dbt-failure event firesDatadogDatadog
  • LogicMap model owner tag to Linear team + dedup searchLinearLinear
  • ActionCreate or comment on Linear issueLinearLinear
  • OutputReply in Slack thread with ticket linkSlack

What it does

Converts recurring dbt failures surfaced in Datadog into actionable, deduplicated Linear tickets. It maps the failed model to its owning team via a tag-to-project lookup and ensures only one open issue exists per model.

When to use it

Use it when dbt run logs already ship to Datadog and you want failures tracked as work, not lost in alert noise. Best for teams that triage data issues through Linear and want a clean, dedup'd backlog.

How it works

  1. 1A Datadog monitor on dbt failure events triggers the flow with the failed model and tags.
  2. 2The flow maps the model's owner tag to a Linear team and project.
  3. 3A logic step searches Linear for an existing open issue referencing the same model.
  4. 4If none exists, it creates a new issue with the error log, run URL, and owner assignment; if one exists, it adds a comment incrementing the failure count.
  5. 5A Slack thread reply links the ticket back to the on-call.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect DatadogMetrics, traces, log search.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.