OTHER

Datadog daily spend attribution by team

Pulls yesterday's Datadog usage and cost data, maps each line item to an owning team via tag rules, and posts a ranked spend breakdown to Slack every morning.

CategoryOther
Enginesim
Difficultyintermediate
Triggerschedule
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerDaily schedule after usage finalizes
  • ActionFetch Datadog usage and cost by tagDatadogDatadog
  • LogicMap usage rows to owning team via tags
  • ActionRoll up per-team totals and day-over-day deltas
  • OutputPost ranked spend breakdown to SlackSlack

What it does

Every morning this workflow turns raw Datadog usage into a per-team cost ledger. It reads the prior day's metered usage (logs, hosts, custom metrics, APM), attributes each charge to a team using your `team:` / `service:` tag mapping, and posts a ranked breakdown to Slack so engineering leads see what they spent before standup.

When to use it

Run it when observability is one shared bill nobody owns and you need daily, team-level accountability instead of a surprise at month end. Ideal for platform teams doing FinOps showback across many squads.

How it works

  1. 1A daily schedule fires shortly after Datadog finalizes the previous day's usage.
  2. 2The Datadog action fetches hourly usage and estimated cost by product and by tag.
  3. 3A logic step joins each usage row to an owning team using your tag-to-team mapping, bucketing untagged spend into an "unattributed" pool.
  4. 4An action rolls the rows into per-team totals, day-over-day deltas, and a top-spenders ranking.
  5. 5The output step posts the formatted leaderboard to a Slack FinOps channel, calling out the largest movers.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect DatadogMetrics, traces, log search.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.