DATA OPS

Open a Linear ticket when a BigQuery slot spike is traced to one author

On a webhook from BigQuery slot-usage alerting, identifies the single author responsible for the spike and files a Linear ticket assigned to them with the offending job, slot…

CategoryData Ops
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook from slot-usage alertHTTP webhook
  • ActionQuery JOBS in spike window by slot_msGoogle BigQueryBigQuery
  • LogicBranch on single-author dominance share
  • ActionGenerate remediation suggestion from query shape
  • OutputCreate assigned Linear ticket with fixLinearLinear

What it does

When reservation slot utilization breaches its alert threshold in real time, this workflow finds the one query author whose job caused the spike and turns the incident into a tracked, owner-assigned Linear ticket instead of a transient alert that scrolls away.

When to use it

Use it when slot saturation causes visible query queuing and you need durable ownership, not just a ping. Ideal for platform teams that triage cost-and-performance regressions through their issue tracker and want each spike to have a clear owner and a closing fix.

How it works

  1. 1A webhook from your slot-usage monitor fires the moment utilization crosses the threshold.
  2. 2Query `INFORMATION_SCHEMA.JOBS_BY_PROJECT` for the running/just-finished jobs in the spike window, sorted by slot_ms.
  3. 3Branch: if a single author owns more than the dominance share of the spike, proceed; otherwise post a generic channel note and stop.
  4. 4Generate a concise remediation suggestion (partitioning, clustering, or LIMIT) from the query shape.
  5. 5Create a Linear ticket assigned to that author with the job ID, slot cost, query text, and the suggested fix.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect LinearIssues, projects, cycles, triage.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Connect HTTP webhookTrigger any URL on agent actions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.