DEVOPS

Real-time lead-time capture on each Honeycomb deploy marker

When Honeycomb records a new deploy marker, it looks up the GitLab MRs in that deploy, computes change lead time for each.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerHoneycomb deploy marker webhookHoneycomb
  • ActionResolve included MRs from GitLab commit rangeGitLabGitLab
  • LogicCompute per-MR lead time + release rollup
  • ActionStream deploy record to BigQueryGoogle BigQueryBigQuery
  • OutputReturn record id confirmation

What it does

Captures change lead time at the moment of deploy instead of in a nightly batch. Every time Honeycomb fires a deploy marker, this workflow resolves which GitLab merge requests are included in that release, calculates merge-to-deploy duration for each, and writes one immutable deploy record to BigQuery.

When to use it

Choose this over a daily batch when you deploy many times a day and want near-live lead-time data, or when you need a clean event-sourced BigQuery table that downstream dashboards can aggregate however they like.

How it works

  1. 1A webhook trigger receives the Honeycomb deploy marker payload (service, environment, commit range).
  2. 2Action queries GitLab for the MRs merged within that commit range.
  3. 3Logic step computes lead time per MR and rolls up deploy size and median lead time for the release.
  4. 4Action streams the structured deploy record into BigQuery via streaming insert.
  5. 5Output confirms the write and emits the record id for traceability.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HoneycombDistributed traces and queries.
  2. 2
    Connect GitLabRepos, MRs, pipelines, registry.
  3. 3
    Connect BigQueryDatasets, queries, schemas.
  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.