Bring cloud spend into Cortex so infrastructure cost lives alongside the rest of your engineering health data (deployment frequency, reliability, scorecard compliance) instead of sitting in a separate FinOps tool that engineers never open.This guide walks through surfacing actuals, budgets, and forecasts at the team level, displaying them on entity pages, and wiring cost into your scorecards. By the end, your engineering managers will be able to answer, How much is my team spending, and are we on track against budget?, without leaving Cortex.
Prerequisites
The Configure Eng Intelligence custom metrics permission to create and publish metric definitions.
An API key with the same permission if you plan to push data programmatically (most cloud cost setups do).
Cost data you can export on a schedule from your cost management platform (AWS Cost Explorer, Azure Cost Management, Databricks, New Relic, etc.), or a CQL-computable source already in Cortex.
Custom metrics or custom data?
Use custom metrics for anything that changes over time, e.g. monthly spend, budget targets, and forecasts. Cost dollars are a time series, so they belong in custom metrics. See Custom metrics to learn more.Use custom data for slowly-changing tags like a cost-center or cost-attribution override. Refer to Custom data for more information.
Step 1: Modeling your cost metrics
Cloud cost is most actionable at the team level where a budget owner can actually do something about it. Attach your metrics to team-type entities rather than individual services, at least to start.A complete picture has three dimensions. A typical setup uses one metric per provider, per dimension:Actuals(what was spent):
Total cloud cost
AWS cost
Azure cost
Databricks cost
New Relic cost
AWS Marketplace cost
Budgets(planned spend targets):
Budgeted AWS
Budgeted Databricks
Budgeted New Relic
Forecasts(projected spend for the period):
Forecast AWS
Forecast Databricks
Forecast New Relic
You don’t need every provider in every dimension. It’s common for actuals to flow for more teams than budgets and forecasts, since budget planning is usually formalized for a smaller subset. Start with actuals everywhere, then layer in budgets and forecasts where the planning data exists.
Step 2: Creating custom metrics
Add custom metrics in Cortex via CQL or API. Refer to the table below for field definitions.
Field
Definition
Ingestion method
Choose API for cost data exported from an external platform (the common case), or CQL if the underlying numbers already exist in Cortex. If you choose CQL, Cortex evaluates the expression every 12 hours and the result must resolve to a number, or it fails validation.
Name
The name of the custom metric. This is how it appears in Eng Intelligence, e.g. AWS Cost.
Key
A unique identifier of letters, digits, and hyphens, e.g. aws-cost. Tip: Keep a consistent prefix scheme like cost-actual-aws, cost-budget-aws, cost-forecast-aws so the three dimensions group cleanly later.
Trend color indicator
Determine if an upward or downward trend is positive.
Draft
Toggle off once you’ve validated the data, to make it visible to everyone with Eng Intelligence access.
Step 3: Pushing your cost data
For externally-sourced cost data, post to each metric via the API on a regular cadence (a daily or monthly job, depending on how often your platform closes the books).
Add points to a single entity, or bulk-add multiple points using createBulkCustomMetricData to load many teams at once.
You can backfill up to two years, so load historical spend on first setup to get trends immediately rather than waiting months for them to accumulate.
All API requests need an Authorization: Bearer <token> header.
A few operational notes:
Cortex lags custom metric results until the end of the previous day, so today’s posted data won’t render until tomorrow.
Bulk metric creation via the API is rate-limited. If you’re loading dozens of teams, batch your requests and handle 429 responses with a retry-after delay rather than hammering the endpoint.
Custom metric data is retained for 24 months.
Step 4: Surfacing cost on team pages with a plugin
Eng Intelligence and Data Explorer show your cost metrics out of the box, but a dedicated custom plugin gives budget owners a purpose-built view on their team page.Build a plugin that displays:
Cloud cost trends across providers
Budget vs. actuals comparison
A unified spend view across AWS, Azure, Databricks, and New Relic
Scope the plugin to team-type entities only, so it appears where cost is actionable and stays off individual service pages where it would just be noise. The plugin reads your metric data through the Cortex API, so it stays in sync with whatever cadence you’re posting on.
Step 5: Tagging entities for cost attribution (custom data)
If you need to attribute or override how individual services and resources roll up to a cost center, use a custom data field rather than a metric (this is the slowly-changing-metadata case). A field like operational-cost-override applied across your catalog lets your cost platform (or your own CQL) map services back to the right team or product.This is what makes accurate chargeback and showback possible: the metrics tell you how much, the custom data tells you whose.
Step 6: Putting cost to work in Scorecards and reports
Once cost is flowing, it stops being a dashboard and starts being a control:
Scorecard rules - Flag teams whose actual spend exceeds forecast by more than a threshold, or whose spend has grown month-over-month beyond a set percentage. Cost becomes a standard you can drive, not just a number you observe. See Scorecard rule filters
CQL reports - Build a tabular, cross-team cost comparison so leadership can rank spend without manually aggregating from a finance export. See Using CQL reports
Service-level cost - Once team-level patterns are solid, extend attribution down to individual services using your cost-attribution custom data, so you can answer, Which service is driving this team’s bill?
What you end up with
Cost data living where engineering decisions are made—closing the loop between the teams writing the code and the teams accountable for the bill—scoped to the level where someone can act on it, and tied into the same scorecards and reports that govern everything else in your catalog.
Last modified on September 28, 2026
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Cortex","colors":{"primary":"#653EE8","light":"#9378EF","dark":"#5132BA"},"logo":{"light":"https://mintcdn.com/cortex-290c0c42/JcmXgfdiEzZzqS2M/logo/cortex-light.svg?fit=max\u0026auto=format\u0026n=JcmXgfdiEzZzqS2M\u0026q=85\u0026s=3d32dd91336a0de9463a57e04f9b8bb3","dark":"https://mintcdn.com/cortex-290c0c42/JcmXgfdiEzZzqS2M/logo/cortex-dark.svg?fit=max\u0026auto=format\u0026n=JcmXgfdiEzZzqS2M\u0026q=85\u0026s=e664b364295c3625385d56e02110b4a7"},"favicon":{"light":"https://mintcdn.com/cortex-290c0c42/09VjkT_e7zMKfZOT/images/favicon.png?fit=max\u0026auto=format\u0026n=09VjkT_e7zMKfZOT\u0026q=85\u0026s=1689c84dea2d7ff7c17603f1d27163ae","dark":"https://mintcdn.com/cortex-290c0c42/09VjkT_e7zMKfZOT/images/favicon.png?fit=max\u0026auto=format\u0026n=09VjkT_e7zMKfZOT\u0026q=85\u0026s=1689c84dea2d7ff7c17603f1d27163ae"},"api":{"playground":{"display":"interactive"},"examples":{"prefill":true}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"icon":"/images/us-flag.png","href":"https://app.getcortexapp.com/","label":"US"},{"icon":"/images/eu-flag.png","href":"https://app.eu.cortex.io/","label":"EU"}],"primary":{"type":"button","label":"Get a Demo","href":"https://www.cortex.io/demo"}},"footer":{"socials":{"github":"https://github.com/cortexapps","linkedin":"https://www.linkedin.com/company/cortexapp","youtube":"https://www.youtube.com/@cortex611","x":"https://twitter.com/GetCortexApp"},"links":[{"header":"Cortex","items":[{"label":"Cortex website","href":"https://cortex.io"},{"label":"Product log in (US)","href":"https://app.getcortexapp.com/login"},{"label":"Product log in (EU)","href":"https://app.eu.cortex.io/login"},{"label":"Privacy Policy","href":"https://www.cortex.io/legal/privacy-policy"},{"label":"Security Policy","href":"https://www.cortex.io/legal/security-policy"},{"label":"Terms of Service","href":"https://www.cortex.io/legal/terms-of-service"},{"label":"Status Page","href":"https://status.cortex.io/"}]},{"header":"Resources","items":[{"label":"Cortex Academy","href":"https://academy.cortex.io/"},{"label":"Blog","href":"https://www.cortex.io/blog"},{"label":"Engineering Blog","href":"https://builders.cortex.io/"},{"label":"Braintrust","href":"https://www.braintrust.cortex.io/"},{"label":"Contact Support","href":"https://support.cortex.io/"}]}]},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","download-pdf"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cortex-290c0c42","hasAudioNarration":false,"actualSubdomain":"cortex-290c0c42","customDomains":["docs.cortex.io"],"gitSource":{"type":"github","owner":"cortexapps","repo":"brainpower","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0466ce839604291956a9f8","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":664},{"language":"default","tag":"REST API operations","count":663},{"language":"default","tag":"Integrations","count":490},{"language":"default","tag":"Product Docs","count":240},{"language":"default","tag":"Connect data","count":125},{"language":"default","tag":"Cookbooks","count":51},{"language":"default","tag":"Product areas","count":50},{"language":"default","tag":"Workflows","count":47},{"language":"default","tag":"Entities overview","count":38},{"language":"default","tag":"Configure","count":37}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":where(img[src^=\"/images/\"]){display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto}#navbar li.navbar-link>a{background-color:rgb(3 7 18 / 0.06)}#navbar li.navbar-link>a:hover{background-color:rgb(3 7 18 / 0.12)}html.dark #navbar li.navbar-link>a{background-color:rgb(255 255 255 / 0.07)}html.dark #navbar li.navbar-link>a:hover{background-color:rgb(255 255 255 / 0.14)}#content-area .mdx-content{--tw-prose-links: #7458DB;--tw-prose-invert-links: #C0AFFF}html.dark #content-area .mdx-content :where(a):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){color:#C0AFFF}.product-tab{background-color:#F3F4F6!important;color:#000!important}.product-tab[data-active=\"true\"]{background-color:#E6E7E9!important}html.dark .product-tab{background-color:rgb(255 255 255 / 0.1)!important;color:#fff!important}html.dark .product-tab[data-active=\"true\"]{background-color:#653EE8!important}.product-item[data-active=\"true\"]{background-color:#E6E7E9}html.dark .product-item[data-active=\"true\"]{background-color:rgb(255 255 255 / 0.05)}.product-item-arrow{opacity:0}.product-item-arrow svg{width:14px!important;height:14px!important;max-width:14px;max-height:14px;flex-shrink:0}.product-item-arrow[data-active=\"true\"]{opacity:1}#kapa-search-ask-row{display:flex;align-items:center;gap:0.5rem;margin:0 0.375rem 0.375rem;padding:0.625rem 0.75rem;border-top:1px solid rgb(229 231 235);background:transparent;font-size:0.875rem;font-weight:500;color:rgb(3 7 18);text-align:left;cursor:pointer}#kapa-search-ask-row[hidden]{display:none}#kapa-search-ask-row:hover{background:rgb(0 0 0 / 0.03)}#kapa-search-ask-row svg{width:1rem;height:1rem;flex-shrink:0;color:rgb(var(--primary))}#kapa-search-ask-row .kapa-search-ask-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#kapa-search-ask-row kbd{padding:0 0.3rem;border:1px solid rgb(229 231 235);border-radius:0.25rem;font-family:inherit;font-size:0.75rem;color:rgb(107 114 128)}.dark #kapa-search-ask-row{border-top-color:rgb(255 255 255 / 0.1);color:#fff}.dark #kapa-search-ask-row:hover{background:rgb(255 255 255 / 0.05)}.dark #kapa-search-ask-row svg{color:rgb(var(--primary-light))}.dark #kapa-search-ask-row kbd{border-color:rgb(255 255 255 / 0.1);color:rgb(156 163 175)}#assistant-entry,#assistant-entry-mobile{display:none!important}#kapa-ask-button{display:none;flex:none;align-items:center;gap:0.375rem;height:2.25rem;margin-left:0.5rem;padding:0 0.875rem 0 0.75rem;border-radius:9999px;background:rgb(3 7 18 / 0.03);font-size:0.875rem;font-weight:500;color:rgb(55 65 81);cursor:pointer}@media (min-width: 1024px){#kapa-ask-button{display:flex}}#kapa-ask-button:hover{background:rgb(3 7 18 / 0.1)}#kapa-ask-button svg{width:1rem;height:1rem;color:rgb(var(--primary))}html.dark #kapa-ask-button{background:rgb(255 255 255 / 0.03);color:rgb(209 213 219)}html.dark #kapa-ask-button:hover{background:rgb(255 255 255 / 0.1)}html.dark #kapa-ask-button svg{color:rgb(var(--primary-light))}"},{"filePath":"status-tags.css","content":".nav-tag-pill[data-status]{background-color:var(--status-tag-color)!important;border-color:var(--status-tag-color)!important}.nav-tag-pill[data-status],.nav-tag-pill[data-status] .nav-tag-pill-text{color:#FFFFFF!important}.nav-tag-pill[data-status=\"research-preview\"]{--status-tag-color: #7B2D6B}.nav-tag-pill[data-status=\"public-beta\"]{--status-tag-color: #1D4ED8}.nav-tag-pill[data-status=\"private-beta\"]{--status-tag-color: #8C1D3A}.nav-tag-pill[data-status]{white-space:nowrap;flex-shrink:0}"},{"filePath":"changelog-dates.css","content":"html[data-changelog-page] #changelog-filters{height:100%;min-height:0}html[data-changelog-page] #changelog-filters>#changelog-filters{display:flex;flex-direction:column;height:auto;max-height:100%;overflow:hidden}html[data-changelog-page] #changelog-filters>#changelog-filters>*{flex-shrink:0}#changelog-dates{flex:1 1 auto!important;flex-shrink:1!important;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0.5rem 0.25rem 1.5rem 0}#changelog-dates [hidden]{display:none!important}#changelog-dates .changelog-dates-toggle{display:flex;text-decoration:none;align-items:center;justify-content:space-between;width:100%;padding:0.375rem 0;font-weight:500;color:rgb(55 65 81);cursor:pointer}#changelog-dates .changelog-dates-toggle svg{width:0.875rem;height:0.875rem;transition:transform 150ms ease}#changelog-dates .changelog-dates-year[data-open] .changelog-dates-toggle svg{transform:rotate(90deg)}#changelog-dates .changelog-dates-list{display:none;list-style:none;margin:0.25rem 0 0.5rem;padding:0}#changelog-dates .changelog-dates-year[data-open] .changelog-dates-list{display:block}#changelog-dates .changelog-dates-list li{margin:0;padding:0}#changelog-dates .changelog-dates-list a{display:block;padding:0.25rem 0 0.25rem 1rem;border-left:1px solid rgb(3 7 18 / 0.05);color:rgb(75 85 99);text-decoration:none}#changelog-dates .changelog-dates-toggle:hover,#changelog-dates .changelog-dates-list a:hover{color:rgb(17 24 39)}#changelog-dates .changelog-dates-list a:hover{border-left-color:rgb(3 7 18 / 0.2)}#changelog-dates .changelog-dates-list li[data-active] a{color:rgb(var(--primary));border-left-color:rgb(var(--primary));font-weight:500}html.dark #changelog-dates .changelog-dates-toggle{color:rgb(209 213 219)}html.dark #changelog-dates .changelog-dates-list a{color:rgb(156 163 175);border-left-color:rgb(255 255 255 / 0.1)}html.dark #changelog-dates .changelog-dates-toggle:hover,html.dark #changelog-dates .changelog-dates-list a:hover{color:rgb(243 244 246)}html.dark #changelog-dates .changelog-dates-list a:hover{border-left-color:rgb(255 255 255 / 0.2)}html.dark #changelog-dates .changelog-dates-list li[data-active] a{color:rgb(var(--primary-light));border-left-color:rgb(var(--primary-light))}.update-container[data-untagged-hidden],h2[hidden]{display:none!important}"}]}
{"page":{"pagePath":"guides/operational-readiness/tracking-cloud-costs","slug":"/guides/operational-readiness/tracking-cloud-costs","pageMetadata":{"title":"Tracking cloud costs","description":null,"href":"/guides/operational-readiness/tracking-cloud-costs"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const RecipeBadges=({badges=[]})=>{const map={\"recipe\":{label:`Recipe`,color:`#A86400`},\"ai-excellence\":{label:`AI excellence`,color:`#653EE8`},\"production-readiness\":{label:`Production readiness`,color:`#226686`},\"incident-mgmt\":{label:`Incident management`,color:`#86198F`},\"migrations\":{label:`Migrations`,color:`#0E7C66`},\"compliance\":{label:`Compliance`,color:`#475569`},\"dora\":{label:`DORA metrics`,color:`#1D4ED8`},\"security\":{label:`Security`,color:`#B42318`},\"operational-readiness\":{label:`Operational readiness`,color:`#B54708`},\"dev-onboarding\":{label:`Developer onboarding`,color:`#C11574`}};const items=badges.map(key=>map[key]).filter(Boolean);if(items.length===0)return null;return _jsx(`div`,{className:`not-prose mint-flex mint-flex-wrap mint-gap-2 mint-mb-6`,children:items.map(b=>_jsx(`span`,{className:`mint-rounded-lg mint-px-2 mint-py-1 mint-text-xs mint-font-medium`,style:{backgroundColor:b.color,color:b.textColor||`#FFFFFF`},children:b.label},b.label))})};function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Table,_MdxComponentBoundary}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`RecipeBadges`,children:_jsx(RecipeBadges,{badges:[`recipe`,`operational-readiness`]})}),`\n`,_jsx(_components.p,{children:`Bring cloud spend into Cortex so infrastructure cost lives alongside the rest of your engineering health data (deployment frequency, reliability, scorecard compliance) instead of sitting in a separate FinOps tool that engineers never open.`}),`\n`,_jsxs(_components.p,{children:[`This guide walks through surfacing actuals, budgets, and forecasts at the team level, displaying them on entity pages, and wiring cost into your scorecards. By the end, your engineering managers will be able to answer, `,_jsx(_components.em,{children:_jsx(_components.strong,{children:`How much is my team spending, and are we on track against budget?`})}),`, without leaving Cortex.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=89a16f8ef10db02fcec2930287968c4c`,alt:`A custom 'Cloud cost' dashboard in Cortex.`,\"data-og-width\":`2770`,width:`2770`,\"data-og-height\":`1234`,height:`1234`,\"data-path\":`guides/images/screenshot-2026-06-10-at-2-25-38-pm.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=280\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=c36584796cfbdb4c040c14c6fb823340 280w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=560\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=6a58783c7575ea4bd3556aa1e244741d 560w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=840\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=892f349c5cc12ade685e5cec5564dcc1 840w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=1100\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=e6e5c349dbea36bb2f17e93e18af5794 1100w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=1650\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=d4845b4a5937d12c91b198b10de0cd64 1650w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/screenshot-2026-06-10-at-2-25-38-pm.png?w=2500\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=865dd05f9ccd1821eb2cb48fae344cec 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`The `,_jsx(_components.code,{children:`Configure Eng Intelligence custom metrics`}),` permission to create and publish metric definitions.`]}),`\n`,_jsxs(_components.li,{children:[`An `,_jsx(_components.a,{href:`/configure/settings/api-keys#creating-an-api-key-in-cortex`,children:`API key`}),` with the same permission if you plan to push data programmatically (most cloud cost setups do).`]}),`\n`,_jsx(_components.li,{children:`Cost data you can export on a schedule from your cost management platform (AWS Cost Explorer, Azure Cost Management, Databricks, New Relic, etc.), or a CQL-computable source already in Cortex.`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-metrics-or-custom-data`,children:_jsx(_components.strong,{children:`Custom metrics or custom data?`})}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/guides/operational-readiness/tracking-cloud-costs#step-2-creating-custom-metrics`,children:`custom metrics`}),` for anything that changes over time, e.g. monthly spend, budget targets, and forecasts. Cost dollars are a time series, so they belong in custom metrics. See `,_jsx(_components.a,{href:`/improve/eng-intelligence/custom-metrics`,children:`Custom metrics`}),` to learn more.`]}),`\n`,_jsxs(_components.p,{children:[`Use `,_jsx(_components.a,{href:`/guides/operational-readiness/tracking-cloud-costs#step-5-tagging-entities-for-cost-attribution-custom-data`,children:`custom data`}),` for slowly-changing tags like a cost-center or cost-attribution override. Refer to `,_jsx(_components.a,{href:`/ingesting-data-into-cortex/entities-overview/entities/custom-data`,children:`Custom data`}),` for more information.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-1-modeling-your-cost-metrics`,children:`Step 1: Modeling your cost metrics`}),`\n`,_jsx(_components.p,{children:`Cloud cost is most actionable at the team level where a budget owner can actually do something about it. Attach your metrics to team-type entities rather than individual services, at least to start.`}),`\n`,_jsx(_components.p,{children:`A complete picture has three dimensions. A typical setup uses one metric per provider, per dimension:`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Actuals`}),` `,_jsx(_components.em,{children:`(what was spent)`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Total cloud cost`}),`\n`,_jsx(_components.li,{children:`AWS cost`}),`\n`,_jsx(_components.li,{children:`Azure cost`}),`\n`,_jsx(_components.li,{children:`Databricks cost`}),`\n`,_jsx(_components.li,{children:`New Relic cost`}),`\n`,_jsx(_components.li,{children:`AWS Marketplace cost`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Budgets`}),` `,_jsx(_components.em,{children:`(planned spend targets)`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Budgeted AWS`}),`\n`,_jsx(_components.li,{children:`Budgeted Databricks`}),`\n`,_jsx(_components.li,{children:`Budgeted New Relic`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Forecasts`}),` `,_jsx(_components.em,{children:`(projected spend for the period)`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Forecast AWS`}),`\n`,_jsx(_components.li,{children:`Forecast Databricks`}),`\n`,_jsx(_components.li,{children:`Forecast New Relic`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You don’t need every provider in every dimension. It’s common for actuals to flow for more teams than budgets and forecasts, since budget planning is usually formalized for a smaller subset. Start with actuals everywhere, then layer in budgets and forecasts where the planning data exists.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=2fef34324cb42479d9682f9b1976d37b`,alt:``,\"data-og-width\":`2846`,width:`2846`,\"data-og-height\":`1492`,height:`1492`,\"data-path\":`guides/images/image.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=280\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=856a1171de88307782260787a04a8126 280w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=560\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=5696a79117b02d54da51ed81ec58fa94 560w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=840\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=a2fafb93a4c4f3f77db994a8b4cbd6c5 840w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=1100\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=e110df7b0d5329aa9dc8d90c353f484e 1100w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=1650\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=bfdd3909992046db6559f7610d8748a7 1650w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image.png?w=2500\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=0db71c9fb6f2d37f09aa160e54d0b404 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`step-2-creating-custom-metrics`,children:`Step 2: Creating custom metrics`}),`\n`,_jsxs(_components.p,{children:[`Add custom metrics in Cortex via `,_jsx(_components.a,{href:`/improve/eng-intelligence/custom-metrics#creating-a-custom-metric-via-cql`,children:`CQL`}),` or `,_jsx(_components.a,{href:`/improve/eng-intelligence/custom-metrics#creating-a-custom-metric-via-api`,children:`API`}),`. Refer to the table below for field definitions.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Definition`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Ingestion method`})}),_jsx(_components.td,{children:`Choose API for cost data exported from an external platform (the common case), or CQL if the underlying numbers already exist in Cortex. If you choose CQL, Cortex evaluates the expression every 12 hours and the result must resolve to a number, or it fails validation.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Name`})}),_jsxs(_components.td,{children:[`The name of the custom metric. This is how it appears in Eng Intelligence, e.g. `,_jsx(_components.code,{children:`AWS Cost`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Key`})}),_jsxs(_components.td,{children:[`A unique identifier of letters, digits, and hyphens, e.g. `,_jsx(_components.code,{children:`aws-cost`}),`. `,_jsx(_components.strong,{children:`Tip`}),`: Keep a consistent prefix scheme like `,_jsx(_components.code,{children:`cost-actual-aws`}),`, `,_jsx(_components.code,{children:`cost-budget-aws`}),`, `,_jsx(_components.code,{children:`cost-forecast-aws`}),` so the three dimensions group cleanly later.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Trend color indicator`})}),_jsx(_components.td,{children:`Determine if an upward or downward trend is positive.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Draft`})}),_jsx(_components.td,{children:`Toggle off once you’ve validated the data, to make it visible to everyone with Eng Intelligence access.`})]})]})]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=8b12f6eee60d6ee4cc3d053595f282a7`,alt:``,\"data-og-width\":`2830`,width:`2830`,\"data-og-height\":`1278`,height:`1278`,\"data-path\":`guides/images/image-1.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=280\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=16f0bb169ea194f6820f48f4fc7aed38 280w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=560\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=992c4506e27266b6281aa36916616fa8 560w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=840\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=2c1c62735bb96223051c027f0797e935 840w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=1100\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=312d5701b3c726edec983c56fcec2160 1100w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=1650\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=474dd7a983cbd8e66fb113331657ab6d 1650w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-1.png?w=2500\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=a8132f2f832594cd7debf3684dc54a8e 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`step-3-pushing-your-cost-data`,children:`Step 3: Pushing your cost data`}),`\n`,_jsx(_components.p,{children:`For externally-sourced cost data, post to each metric via the API on a regular cadence (a daily or monthly job, depending on how often your platform closes the books).`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Add points to a single entity, or bulk-add multiple points using `,_jsx(_components.code,{children:`createBulkCustomMetricData`}),` to load many teams at once.`]}),`\n`,_jsx(_components.li,{children:`You can backfill up to two years, so load historical spend on first setup to get trends immediately rather than waiting months for them to accumulate.`}),`\n`,_jsxs(_components.li,{children:[`All API requests need an `,_jsx(_components.code,{children:`Authorization: Bearer \u003ctoken>`}),` header.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`A few operational notes:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cortex lags custom metric results until the end of the previous day, so today’s posted data won’t render until tomorrow.`}),`\n`,_jsxs(_components.li,{children:[`Bulk metric creation via the API is rate-limited. If you’re loading dozens of teams, batch your requests and handle `,_jsx(_components.code,{children:`429`}),` responses with a retry-after delay rather than hammering the endpoint.`]}),`\n`,_jsx(_components.li,{children:`Custom metric data is retained for 24 months.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-4-surfacing-cost-on-team-pages-with-a-plugin`,children:`Step 4: Surfacing cost on team pages with a plugin`}),`\n`,_jsxs(_components.p,{children:[`Eng Intelligence and `,_jsx(_components.a,{href:`/improve/eng-intelligence/data-explorer`,children:`Data Explorer`}),` show your cost metrics out of the box, but a dedicated custom plugin gives budget owners a purpose-built view on their team page.`]}),`\n`,_jsx(_components.p,{children:`Build a plugin that displays:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Cloud cost trends across providers`}),`\n`,_jsx(_components.li,{children:`Budget vs. actuals comparison`}),`\n`,_jsx(_components.li,{children:`A unified spend view across AWS, Azure, Databricks, and New Relic`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Scope the plugin to team-type entities only, so it appears where cost is actionable and stays off individual service pages where it would just be noise. The plugin reads your metric data through the Cortex API, so it stays in sync with whatever cadence you’re posting on.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=66c3bf11368df282bf3e3453cd8f302c`,alt:``,\"data-og-width\":`2730`,width:`2730`,\"data-og-height\":`1166`,height:`1166`,\"data-path\":`guides/images/image-2.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=280\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=e89a76a42a75195f40be5c30f3535a87 280w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=560\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=714245ce51597d5a31f75d9ffb9201e3 560w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=840\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=9888679cd7546619878a436a9aa5a16e 840w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=1100\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=e14061bef6310d330e39964240760b5a 1100w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=1650\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=e8d130131ce3b95ba64e1d9fd57a7283 1650w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-2.png?w=2500\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=0442d2495d273ebe6cf13f1fa78e06a4 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`step-5-tagging-entities-for-cost-attribution-custom-data`,children:`Step 5: Tagging entities for cost attribution (custom data)`}),`\n`,_jsx(_components.p,{children:`If you need to attribute or override how individual services and resources roll up to a cost center, use a custom data field rather than a metric (this is the slowly-changing-metadata case). A field like operational-cost-override applied across your catalog lets your cost platform (or your own CQL) map services back to the right team or product.`}),`\n`,_jsx(_components.p,{children:`This is what makes accurate chargeback and showback possible: the metrics tell you how much, the custom data tells you whose.`}),`\n`,_jsx(Heading,{level:`2`,id:`step-6-putting-cost-to-work-in-scorecards-and-reports`,children:`Step 6: Putting cost to work in Scorecards and reports`}),`\n`,_jsx(_components.p,{children:`Once cost is flowing, it stops being a dashboard and starts being a control:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scorecard rules`}),` - Flag teams whose actual spend exceeds forecast by more than a threshold, or whose spend has grown month-over-month beyond a set percentage. Cost becomes a standard you can drive, not just a number you observe. See `,_jsx(_components.a,{href:`/standardize/scorecards/scorecard-filters`,children:`Scorecard rule filters`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`CQL reports`}),` - Build a tabular, cross-team cost comparison so leadership can rank spend without manually aggregating from a finance export. See `,_jsx(_components.a,{href:`/standardize/cql/cql-reports`,children:`Using CQL reports`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Service-level cost`}),` - Once team-level patterns are solid, extend attribution down to individual services using your cost-attribution custom data, so you can answer, `,_jsx(_components.em,{children:_jsx(_components.strong,{children:`Which service is driving this team’s bill?`})})]}),`\n`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=5335f346ce7e000b148104584a2080dd`,alt:``,\"data-og-width\":`2854`,width:`2854`,\"data-og-height\":`1016`,height:`1016`,\"data-path\":`guides/images/image-3.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=280\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=b992b56852bb41686d02aa24486172d2 280w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=560\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=043308cd1baf59fc807a54eb3ccf66e4 560w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=840\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=c3f85ddf6906ba7b69913e4c7d5821e6 840w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=1100\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=67be5f5fe97a47f5873adce070d7b6c7 1100w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=1650\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=50e2f7593bfc61dc6e7ac7db8f657527 1650w, https://mintcdn.com/cortex-290c0c42/qRY2zZcIyXqFVeCq/guides/images/image-3.png?w=2500\u0026fit=max\u0026auto=format\u0026n=qRY2zZcIyXqFVeCq\u0026q=85\u0026s=994fab6c990f87009bdeecb131cdee06 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`what-you-end-up-with`,children:`What you end up with`}),`\n`,_jsx(_components.p,{children:`Cost data living where engineering decisions are made—closing the loop between the teams writing the code and the teams accountable for the bill—scoped to the level where someone can act on it, and tied into the same scorecards and reports that govern everything else in your catalog.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{RecipeBadges,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Tracking cloud costs","description":null,"href":"/guides/operational-readiness/tracking-cloud-costs"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[148,1123,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[{"title":"Custom metrics or custom data?","slug":"custom-metrics-or-custom-data","depth":3,"children":[]}]},{"title":"Step 1: Modeling your cost metrics","slug":"step-1-modeling-your-cost-metrics","depth":2,"children":[]},{"title":"Step 2: Creating custom metrics","slug":"step-2-creating-custom-metrics","depth":2,"children":[]},{"title":"Step 3: Pushing your cost data","slug":"step-3-pushing-your-cost-data","depth":2,"children":[]},{"title":"Step 4: Surfacing cost on team pages with a plugin","slug":"step-4-surfacing-cost-on-team-pages-with-a-plugin","depth":2,"children":[]},{"title":"Step 5: Tagging entities for cost attribution (custom data)","slug":"step-5-tagging-entities-for-cost-attribution-custom-data","depth":2,"children":[]},{"title":"Step 6: Putting cost to work in Scorecards and reports","slug":"step-6-putting-cost-to-work-in-scorecards-and-reports","depth":2,"children":[]},{"title":"What you end up with","slug":"what-you-end-up-with","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cortex-290c0c42/ed8d91d3153959c2/kapa.js","/_mintlify/custom/cortex-290c0c42/36b87f2caabcf780/status-tags.js","/_mintlify/custom/cortex-290c0c42/cc8557fef10c63cd/changelog-dates.js"],"dynamicCss":".mint-mb-6 {\n margin-bottom: 1.5rem\n}\n.mint-flex {\n display: flex\n}\n.mint-flex-wrap {\n flex-wrap: wrap\n}\n.mint-gap-2 {\n gap: 0.5rem\n}\n.mint-rounded-lg {\n border-radius: 0.5rem\n}\n.mint-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.mint-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.mint-font-medium {\n font-weight: 500\n}","subdomain":"cortex-290c0c42","siteName":"Cortex","title":"Tracking cloud costs - Cortex","relatedPagesConfig":{"enabled":true,"limit":3,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T23:58:33.923Z","gitLastModified":"2026-09-28T23:53:10.000Z","originalFileLocation":"guides/operational-readiness/tracking-cloud-costs.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Cortex\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Tracking cloud costs - Cortex\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cortex\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cortex-290c0c42.mintlify.site/_mintlify/api/og/v2?division=Eng+Intelligence\u0026amp;title=Tracking+cloud+costs\u0026amp;theme=99c32ff148ebb22d9370f9e9\u0026amp;signature=316fe88b0d1b538bc7730fab9b1572bbf52278d922b407ade5ba06a714760f88\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Tracking cloud costs - Cortex\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cortex-290c0c42.mintlify.site/_mintlify/api/og/v2?division=Eng+Intelligence\u0026amp;title=Tracking+cloud+costs\u0026amp;theme=99c32ff148ebb22d9370f9e9\u0026amp;signature=316fe88b0d1b538bc7730fab9b1572bbf52278d922b407ade5ba06a714760f88\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cortex-290c0c42/GsIUSGAJ7s7HMHgE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cortex\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#653EE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/operational-readiness/tracking-cloud-costs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cortex.io/#organization\",\"name\":\"Cortex\",\"url\":\"https://docs.cortex.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cortex-290c0c42/JcmXgfdiEzZzqS2M/logo/cortex-light.svg?fit=max\u0026auto=format\u0026n=JcmXgfdiEzZzqS2M\u0026q=85\u0026s=3d32dd91336a0de9463a57e04f9b8bb3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cortex.io#website\",\"name\":\"Cortex\",\"url\":\"https://docs.cortex.io\",\"publisher\":{\"@id\":\"https://docs.cortex.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs#webpage\",\"url\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs\",\"name\":\"Tracking cloud costs\",\"dateModified\":\"2026-09-28T23:53:10.000Z\",\"isPartOf\":{\"@id\":\"https://docs.cortex.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Product areas\",\"item\":\"https://docs.cortex.io/guides/operational-readiness/keep-your-catalog-up-to-date\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Eng Intelligence\",\"item\":\"https://docs.cortex.io/guides/product-areas/eng-intelligence\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tracking cloud costs\",\"item\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs#article\",\"headline\":\"Tracking cloud costs\",\"name\":\"Tracking cloud costs\",\"url\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cortex.io/guides/operational-readiness/tracking-cloud-costs#webpage\"},\"dateModified\":\"2026-09-28T23:53:10.000Z\",\"publisher\":{\"@id\":\"https://docs.cortex.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cortex.io#website\"}}]}\u003c/script>","agentPointerHref":"/guides/operational-readiness/tracking-cloud-costs.md","siteName":"Cortex","nav":{"global":null,"tabs":[{"tab":"Product Docs","icon":"books","pages":[{"title":"Product Docs","href":""}]},{"tab":"Cookbooks","icon":"hat-chef","groups":[{"group":" ","pages":[{"title":"Cookbooks","icon":"hat-chef","href":"/guides"}]},{"group":"Product areas","pages":[{"group":"Catalogs","root":{"title":"Catalogs","href":"/guides/product-areas/catalogs"},"pages":[{"title":"Keep your catalog up to date","href":"/guides/operational-readiness/keep-your-catalog-up-to-date"}]},{"group":"Scorecards","root":{"title":"Scorecards","href":"/guides/product-areas/scorecards"},"pages":[{"title":"Establish consistent AI security controls","href":"/guides/ai-excellence/establish-consistent-ai-security-controls"},{"title":"Set benchmarks for AI readiness","href":"/guides/ai-excellence/set-benchmarks-for-ai-readiness"},{"title":"Prepare for effective use of AI tools","href":"/guides/ai-excellence/prepare-for-effective-use-of-ai-tools"},{"title":"Seasonal readiness Scorecard","href":"/guides/production-readiness/seasonal-readiness-scorecard"},{"title":"Reduce MTTA","href":"/guides/incident-mgmt/reduce-mtta"},{"title":"Reduce MTTR","href":"/guides/incident-mgmt/reduce-mttr"},{"title":"Manage an Upcoming EOL for AWS","href":"/guides/migrations-and-modernization/manage-an-upcoming-eol-for-aws"},{"title":"Accelerate migration to K8s","href":"/guides/migrations-and-modernization/accelerate-migration-to-k8s"},{"title":"Ensure SOC 2 compliance","href":"/guides/compliance/soc2"},{"title":"Measure DORA progress","href":"/guides/dora/scorecard"},{"title":"Enforce security standards","href":"/guides/security/scorecard"},{"title":"Surface vulnerability data in failed Scorecard rules","href":"/guides/security/vulnerabilities-rules"},{"title":"Surface code coverage metrics from SonarQube in failed Scorecard rules","href":"/guides/security/code-coverage-rules"}]},{"group":"Workflows","root":{"title":"Workflows","href":"/guides/product-areas/workflows"},"pages":[{"title":"Scaffold an ML model project","href":"/guides/ai-excellence/scaffold-ml-model"},{"group":"Manage Terraform infrastructure","root":{"title":"Manage Terraform infrastructure","href":"/guides/production-readiness/terraform"},"pages":[{"title":"Provision EC2 instance with Terraform","href":"/guides/production-readiness/terraform/provision"},{"title":"Update EC2 instance","href":"/guides/production-readiness/terraform/update"},{"title":"Terraform destroy","href":"/guides/production-readiness/terraform/destroy"}]},{"title":"Standardize new service creation","href":"/guides/production-readiness/standardize-new-service-creation"},{"title":"Rollback a service during an incident","href":"/guides/incident-mgmt/workflow-rollback"},{"title":"Create ServiceNow incident","href":"/guides/incident-mgmt/servicenow"},{"title":"Automate new dev environment","href":"/guides/dev-onboarding/env-setup-workflow"},{"title":"Automate user access to GitHub, PagerDuty, and Jira","href":"/guides/dev-onboarding/automate-user-access-to-github-pagerduty-and-jira"},{"title":"Automate user access to Copilot","href":"/guides/dev-onboarding/automate-user-access-to-copilot"},{"title":"Kick off a Jenkins pipeline","href":"/guides/operational-readiness/jenkins-workflow"},{"title":"Call internal service endpoints in a Workflow","href":"/guides/operational-readiness/internal-endpoints"},{"title":"Run a Humanitec pipeline","href":"/guides/operational-readiness/humanitec-pipeline"},{"title":"Trigger internal Jenkins jobs","href":"/guides/operational-readiness/jenkins-axon"},{"title":"Automate a sync in ArgoCD","href":"/guides/operational-readiness/argocd-workflow"},{"title":"Loop in a JavaScript block and return specified output","href":"/guides/operational-readiness/javascript-looping"},{"title":"Link SOC 2 documents to entity","href":"/guides/compliance/link-soc2-docs"},{"title":"Bulk accept entity data verifications","href":"/guides/compliance/bulk-accept-entity-data-verifications"}]},{"group":"Eng Intelligence","root":{"title":"Eng Intelligence","href":"/guides/product-areas/eng-intelligence"},"pages":[{"title":"Measure AI impact","href":"/guides/ai-excellence/measure-ai-impact"},{"title":"Improve bottlenecks in your software development lifecycle","description":null,"href":"/guides/production-readiness/improve-bottlenecks"},{"title":"Tracking cloud costs","href":"/guides/operational-readiness/tracking-cloud-costs"}]},{"group":"OpEx Review","root":{"title":"OpEx Review","tag":"PUBLIC BETA","description":null,"href":"/guides/product-areas/opex-review"},"tag":"PUBLIC BETA","pages":[{"title":"Run OpEx reviews that end in decisions","tag":"PUBLIC BETA","href":"/guides/operational-readiness/run-effective-opex-reviews"}]},{"group":"Data verification","root":{"title":"Data verification","href":"/guides/product-areas/data-verification"},"pages":[{"title":"Verify services after AI-based auto-mapping","href":"/guides/ai-excellence/verify-auto-mappings"},{"title":"Validate data after migration","href":"/guides/migrations-and-modernization/validate-data"},{"title":"Data verifications for audit readiness","href":"/guides/compliance/data-verification"}]},{"group":"Plugins","root":{"title":"Plugins","href":"/guides/product-areas/plugins"},"pages":[{"title":"Visualizing custom data in a plugin","href":"/guides/operational-readiness/visualizing-custom-data-in-a-plugin"}]},{"group":"Cortex MCP","root":{"title":"Cortex MCP","href":"/guides/product-areas/cortex-mcp"},"pages":[{"title":"Put your Cortex data to work in your agents","href":"/guides/ai-excellence/put-your-cortex-data-to-work-in-your-agents"}]}]}]},{"tab":"API Reference","icon":"brain","pages":[{"title":"API Reference","href":"/api"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Tracking cloud costs - Cortex","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-C5J5Gw3i.js","lightbox-handle-r17bVUz3.js"]}