Recued
Menu
← Back to recipes

Which Datadog cost number is real today, and which one is not in yet

by recued-core v2 32 views

Use “Which Datadog cost number is real today, and which one is not in yet” in Recued. Datadog returns three different "cost" numbers and each is only valid inside A window it does not mention in the response. Estimated cost "is delayed by up to 72 hours from when it was.

How it works 25 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (25 steps)
■ this_window date_period
Apply date_period
■ last_window date_period
Apply date_period
■ this_anchor date_add
Add 15 days to
■ last_anchor date_add
Add 15 days to
■ this_month date_format
Format as a date
■ last_month date_format
Format as a date
◆ estimated_raw recued-core.datadog-v2-finops-usage.v2.get_estimated_cost_by_org
Get estimated cost by org v2 on datadog v2 finops usage
■ estimated_rows default
Apply default
◆ historical_raw recued-core.datadog-v2-finops-usage.v2.get_historical_cost_by_org
Get historical cost by org v2 on datadog v2 finops usage
■ historical_rows default
Apply default
◆ projected_raw recued-core.datadog-v2-finops-usage.v2.get_projected_cost
Get projected cost v2 on datadog v2 finops usage
■ projected_rows default
Apply default
■ have_any any
Check if any of the conditions are true
■ have_something template
Generate text from a template
fail: step.have_any equal false
■ estimated_available compare
Check if estimated rows has data
■ historical_available compare
Check if historical rows has data
■ projected_available compare
Check if projected rows has data
■ estimated_total sum
Sum values in
■ historical_total sum
Sum values in
■ projected_total sum
Sum values in
■ projected_wrong_field sum
Sum values in
■ org_count count
Count items in estimated rows
■ charge_rows default
Apply default
■ charge_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table charge_table

Uses (3 operations)

Pack operation Get estimated cost by org v2 on datadog v2 finops usage recued-core.datadog-v2-finops-usage.v2.get_estimated_cost_by_org
Pack operation Get historical cost by org v2 on datadog v2 finops usage recued-core.datadog-v2-finops-usage.v2.get_historical_cost_by_org
Pack operation Get projected cost v2 on datadog v2 finops usage recued-core.datadog-v2-finops-usage.v2.get_projected_cost

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Datadog connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

datadog datadogfinopscostbillingread-only

Details

25 steps recipe_id: review-cost-truth-window-datadog