DEVOPS

Post-Pipeline Runner-Tier Right-Sizing Advisor

On each completed GitLab pipeline, correlates job CPU/memory utilization from Datadog against the runner tier used and alerts Slack when a job is over- or under-provisioned.

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerwebhook
Steps5
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab pipeline-completed webhookGitLabGitLab
  • ActionQuery Datadog for per-job CPU/memory utilizationDatadogDatadog
  • LogicClassify jobs as over/under/right-sized vs tier
  • LogicSuppress fully right-sized pipelines
  • OutputAlert Slack with tier change and savingsSlack

What it does

After every pipeline finishes, it cross-references actual runner resource utilization (from Datadog) with the runner tier each job requested, then recommends right-sizing — flagging both wasteful over-provisioning and throttled under-provisioning.

When to use it

When you pay for large runner tiers but suspect most jobs barely use them, or when slow jobs are silently starved for CPU. Best for teams running self-hosted or tier-priced GitLab runners.

How it works

  1. 1A GitLab webhook triggers when a pipeline completes.
  2. 2The flow queries Datadog for per-job CPU and memory utilization metrics during the pipeline window.
  3. 3A logic step compares peak utilization against the requested runner tier, classifying each job as over-provisioned, right-sized, or throttled.
  4. 4A filter step suppresses pipelines where every job is already right-sized.
  5. 5For mismatched jobs, an alert with the recommended tier change and projected savings is posted to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitLabRepos, MRs, pipelines, registry.
  2. 2
    Connect DatadogMetrics, traces, log search.
  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.