<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How are you attributing serverless costs back to individual jobs and teams? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167962#M55804</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248581"&gt;@Islam_hoti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently solved this use case to attribute the serverless cost.&amp;nbsp;Our approach was not to rely on a single tagging mechanism, but to build a layered attribution on top of Databricks billing system tables.&lt;/P&gt;&lt;P&gt;The actual DBUs/cost always come from &lt;STRONG&gt;system.billing.usage&lt;/STRONG&gt;. We enrich those records with the best available team ownership signal.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Attribution Signal&lt;/TD&gt;&lt;TD&gt;Example&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;1&lt;/TD&gt;&lt;TD width="209.484px"&gt;custom_tags&lt;/TD&gt;&lt;TD width="482.836px"&gt;team=pricing, team=risk..&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;2&lt;/TD&gt;&lt;TD width="209.484px"&gt;Resource identity&lt;/TD&gt;&lt;TD width="482.836px"&gt;job_id, dlt_pipeline_id, warehouse_id, endpoint_id, app_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;3&lt;/TD&gt;&lt;TD width="209.484px"&gt;Resource → team mapping&lt;/TD&gt;&lt;TD width="482.836px"&gt;Known Job/Pipeline/Warehouse mapped to owning team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;4&lt;/TD&gt;&lt;TD width="209.484px"&gt;identity_metadata.run_as&lt;/TD&gt;&lt;TD width="482.836px"&gt;Interactive notebook / Databricks Connect user or SPI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;5&lt;/TD&gt;&lt;TD width="209.484px"&gt;Platform/shared&lt;/TD&gt;&lt;TD width="482.836px"&gt;DQ Monitoring, Predictive Optimization, networking, etc.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;6&lt;/TD&gt;&lt;TD width="209.484px"&gt;Unattributed&lt;/TD&gt;&lt;TD width="482.836px"&gt;No proper ownership signal&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Core billing Columns from the Source&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT
  workspace_id,
  usage_date,
  billing_origin_product,
  sku_name,
  usage_metadata.job_id,
  usage_metadata.dlt_pipeline_id,
  usage_metadata.warehouse_id,
  usage_metadata.cluster_id,
  usage_metadata.interactive_source,
  identity_metadata.run_as,
  custom_tags,
  usage_quantity
FROM system.billing.usage;&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;For team attribution we use something conceptually like:&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COALESCE(
  custom_tags['sandbox_teamname'],
  custom_tags['hub_teamname'],
  custom_tags['team'],
  element_at(custom_tags, 'group'),
  resource_team_mapping.mapped_team,
  identity_team_mapping.mapped_team
) AS attributed_team&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Serverless jobs/pipelines&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;For Jobs, pipelines and similar resources, usage_metadata is particularly useful:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;job_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;dlt_pipeline_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;warehouse_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;endpoint_id&lt;/STRONG&gt; → owning team&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We maintain an effective-dated &lt;U&gt;&lt;STRONG&gt;resource_team_mapping&lt;/STRONG&gt;&amp;nbsp;&lt;/U&gt;for historical cost attribution.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Eg&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;resource_type | resource_id | mapped_team | billing_start | billing_end&lt;BR /&gt;Job | 123456 | pricing | 2026-05-01 | NULL&lt;BR /&gt;DLT Pipeline | abc123 | risk | 2026-04-15 | NULL&lt;/P&gt;&lt;P&gt;That also solves an important historical problem: if a resource was untagged previously but subsequently receives a valid team tag, we can retro-attribute its historical billing records to the same resource/team without modifying system.billing.usage.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Interactive/serverless usage:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class=""&gt;For usage without a Job/Pipeline/etc we fall back to:&amp;nbsp;&lt;STRONG&gt;identity_metadata.run_as&amp;nbsp;&lt;/STRONG&gt;and also &lt;STRONG&gt;usage_metadata.interactive_source.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;For eg:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;billing_origin_product = INTERACTIVE&lt;BR /&gt;interactive_source = DATABRICKS_CONNECT&lt;BR /&gt;run_as = user/service-principal&lt;/P&gt;&lt;P class=""&gt;&lt;U&gt;&lt;STRONG&gt;How we implemented tagging:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ownership tags such as &lt;STRONG&gt;team&lt;/STRONG&gt; were added directly to workflow definitions in code base, making ownership part of deployment.&lt;/LI&gt;&lt;LI&gt;For classic compute, cluster policies, pool tags, and cluster custom tags were used to carry team ownership.&lt;/LI&gt;&lt;LI&gt;For serverless Jobs and pipelines, budget policies were deployed through Terraform and referenced through budget_policy_id. Their tags then flow into&amp;nbsp;subsequent billing records under system.billing.usage.custom_tags.&lt;/LI&gt;&lt;LI&gt;For SQL warehouse, the ownership &lt;STRONG&gt;tags&amp;nbsp;&lt;/STRONG&gt;were provisioned as part of &lt;STRONG&gt;terraform.&amp;nbsp;&lt;/STRONG&gt;Can configure manually too, to edit and assign tags.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;U&gt;&lt;STRONG&gt;Budget Policies&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class=""&gt;Budget/serverless policies help significantly going forward because their tags can propagate into billing usage. But we found they shouldn't be considered the entire attribution solution:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Policy/resource tags
        ↓
system.billing.usage.custom_tags
        ↓
Resource mapping
        ↓
Identity mapping
        ↓
Platform/shared
        ↓
Unattributed&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Platform costs&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;We also deliberately don't force everything onto teams. Things such as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA_QUALITY_MONITORING&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PREDICTIVE_OPTIMIZATION&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NETWORKING&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FINE_GRAINED_ACCESS_CONTROL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;could represent Databricks managed/platform activity rather than a team-owned. Those can be kept as Platform/Shared rather than inventing an attribution.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Summary&lt;/U&gt;:&amp;nbsp;&lt;/STRONG&gt;we didn't accept all serverless spend as a central cost. We attribute what can be reliably attributed using tags → resource IDs → identity, explicitly retain platform/shared costs, and expose whatever remains genuinely unattributed.&lt;/P&gt;&lt;P&gt;I am working on a detailed blog post to cover comprehensively, but the above content covers most parts of it.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2026 15:53:15 GMT</pubDate>
    <dc:creator>data_pulse</dc:creator>
    <dc:date>2026-09-08T15:53:15Z</dc:date>
    <item>
      <title>How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167946#M55800</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;We moved most of our workloads to serverless over the last few months and the performance side has been fine. The part we did not plan for is cost attribution.&lt;/P&gt;&lt;P&gt;On classic compute this was easy. One cluster per team, tags on the cluster, and the billing table told us who spent what. With serverless there is no cluster to tag, so the picture is much blurrier. We can see total serverless DBUs going up, but when finance asks which team or which pipeline caused a jump, we do not have a clean answer.&lt;/P&gt;&lt;P&gt;What we have tried so far. We use the system billing tables and group by the job and pipeline identifiers where they exist, but a lot of usage lands in buckets we cannot easily map back to an owner, especially interactive notebook usage and ad hoc SQL. Budget policies help enforce tags going forward, but they did not solve the retroactive picture and they only cover some resource types.&lt;/P&gt;&lt;P&gt;So a few questions for people further along than us.&lt;/P&gt;&lt;P&gt;Are you using budget policies with mandatory tags, and did that actually give you clean attribution, or did you still end up with a large unattributed bucket?&lt;/P&gt;&lt;P&gt;How are you handling interactive notebook usage, where the person running it is not tied to any job? Do you charge that back to individuals, absorb it centrally, or restrict it?&lt;/P&gt;&lt;P&gt;Has anyone built anything on top of the system tables that they would consider genuinely reliable for chargeback, as opposed to directionally useful?&lt;/P&gt;&lt;P&gt;And the honest one: did anyone decide the attribution problem was not worth solving and just accepted serverless as a shared central cost?&lt;/P&gt;&lt;P&gt;Would really appreciate hearing how other teams landed on this, including the approaches that did not work.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 14:17:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167946#M55800</guid>
      <dc:creator>Islam_hoti</dc:creator>
      <dc:date>2026-09-08T14:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167950#M55802</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248581"&gt;@Islam_hoti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Databricks serverless compute usage&amp;nbsp;is&amp;nbsp;attributable through the system billing tables and it requires a different approach than legacy cluster based tagging. &lt;STRONG&gt;system.billing.usage&lt;/STRONG&gt;&amp;nbsp;table captures &lt;STRONG&gt;serverless&lt;/STRONG&gt; usage with&amp;nbsp;&lt;STRONG&gt;usage_metadata&lt;/STRONG&gt;&amp;nbsp;that includes&amp;nbsp;job_id,&amp;nbsp;notebook_id,&amp;nbsp;user_name, and&amp;nbsp;workspace_id&amp;nbsp;for most workload types. For &lt;STRONG&gt;jobs&lt;/STRONG&gt; and &lt;STRONG&gt;pipelines&lt;/STRONG&gt;, you can &lt;STRONG&gt;tag&lt;/STRONG&gt; the job or pipeline resource itself (not a cluster), and those tags generally propagate to usage records via the&amp;nbsp;&lt;STRONG&gt;custom_tags&amp;nbsp;&lt;/STRONG&gt;column. &lt;STRONG&gt;Budget policies&lt;/STRONG&gt; with &lt;STRONG&gt;mandatory tag enforcement&lt;/STRONG&gt; is good for&amp;nbsp;new&amp;nbsp;resources going forward - jobs, SQL warehouses and pipelines. Note&amp;nbsp;that they don't retroactively fix untagged historical usage or cover all interactive scenarios. The &lt;STRONG&gt;unattributed bucket&lt;/STRONG&gt; typically comes from ad-hoc notebook runs and SQL queries where the resource (job/warehouse) wasn't tagged, but you can still pivot to&amp;nbsp;&lt;STRONG&gt;user-level&amp;nbsp;&lt;/STRONG&gt;attribution using&amp;nbsp;&lt;STRONG&gt;identity_metadata.run_as&amp;nbsp;&lt;/STRONG&gt;or&amp;nbsp;&lt;STRONG&gt;usage_metadata.user_name&amp;nbsp;&lt;/STRONG&gt;to charge &lt;STRONG&gt;individuals&lt;/STRONG&gt; or their &lt;STRONG&gt;cost centers&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;You can use &lt;STRONG&gt;warehouse-level&lt;/STRONG&gt; tagging&amp;nbsp;plus user-identity passthrough - create team-specific or &lt;STRONG&gt;cost-center&lt;/STRONG&gt;-specific SQL warehouses with mandatory tags, restrict users to their team's warehouse via entitlements and the billing table will tie usage to both the warehouse tag&amp;nbsp;and&amp;nbsp;the individual user for interactive notebook and SQL warehouse usage.&lt;/P&gt;&lt;P&gt;You can choose to absorb some level of exploratory usage centrally (setting a threshold like &amp;lt;50 DBU/month per user) and chargeback sustained usage. The &lt;STRONG&gt;shared central cost&amp;nbsp;&lt;/STRONG&gt;approach is good if serverless represents a small percentage of &lt;STRONG&gt;total spend&lt;/STRONG&gt;. You can build a&amp;nbsp;&lt;STRONG&gt;chargeback view&lt;/STRONG&gt; on&amp;nbsp;&lt;STRONG&gt;system.billing.usage&amp;nbsp;&lt;/STRONG&gt;joined to&amp;nbsp;&lt;STRONG&gt;system.access.audit&amp;nbsp;&lt;/STRONG&gt;(for resource ownership) and &lt;STRONG&gt;workspace metadata&lt;/STRONG&gt; (for team mappings) as standard practice.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 14:38:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167950#M55802</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-09-08T14:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167962#M55804</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248581"&gt;@Islam_hoti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently solved this use case to attribute the serverless cost.&amp;nbsp;Our approach was not to rely on a single tagging mechanism, but to build a layered attribution on top of Databricks billing system tables.&lt;/P&gt;&lt;P&gt;The actual DBUs/cost always come from &lt;STRONG&gt;system.billing.usage&lt;/STRONG&gt;. We enrich those records with the best available team ownership signal.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Attribution Signal&lt;/TD&gt;&lt;TD&gt;Example&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;1&lt;/TD&gt;&lt;TD width="209.484px"&gt;custom_tags&lt;/TD&gt;&lt;TD width="482.836px"&gt;team=pricing, team=risk..&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;2&lt;/TD&gt;&lt;TD width="209.484px"&gt;Resource identity&lt;/TD&gt;&lt;TD width="482.836px"&gt;job_id, dlt_pipeline_id, warehouse_id, endpoint_id, app_id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;3&lt;/TD&gt;&lt;TD width="209.484px"&gt;Resource → team mapping&lt;/TD&gt;&lt;TD width="482.836px"&gt;Known Job/Pipeline/Warehouse mapped to owning team&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;4&lt;/TD&gt;&lt;TD width="209.484px"&gt;identity_metadata.run_as&lt;/TD&gt;&lt;TD width="482.836px"&gt;Interactive notebook / Databricks Connect user or SPI&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;5&lt;/TD&gt;&lt;TD width="209.484px"&gt;Platform/shared&lt;/TD&gt;&lt;TD width="482.836px"&gt;DQ Monitoring, Predictive Optimization, networking, etc.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="39.9844px"&gt;6&lt;/TD&gt;&lt;TD width="209.484px"&gt;Unattributed&lt;/TD&gt;&lt;TD width="482.836px"&gt;No proper ownership signal&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Core billing Columns from the Source&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT
  workspace_id,
  usage_date,
  billing_origin_product,
  sku_name,
  usage_metadata.job_id,
  usage_metadata.dlt_pipeline_id,
  usage_metadata.warehouse_id,
  usage_metadata.cluster_id,
  usage_metadata.interactive_source,
  identity_metadata.run_as,
  custom_tags,
  usage_quantity
FROM system.billing.usage;&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;For team attribution we use something conceptually like:&lt;/U&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;COALESCE(
  custom_tags['sandbox_teamname'],
  custom_tags['hub_teamname'],
  custom_tags['team'],
  element_at(custom_tags, 'group'),
  resource_team_mapping.mapped_team,
  identity_team_mapping.mapped_team
) AS attributed_team&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Serverless jobs/pipelines&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;For Jobs, pipelines and similar resources, usage_metadata is particularly useful:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;job_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;dlt_pipeline_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;warehouse_id&lt;/STRONG&gt; → owning team&lt;BR /&gt;&lt;STRONG&gt;endpoint_id&lt;/STRONG&gt; → owning team&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We maintain an effective-dated &lt;U&gt;&lt;STRONG&gt;resource_team_mapping&lt;/STRONG&gt;&amp;nbsp;&lt;/U&gt;for historical cost attribution.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Eg&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;resource_type | resource_id | mapped_team | billing_start | billing_end&lt;BR /&gt;Job | 123456 | pricing | 2026-05-01 | NULL&lt;BR /&gt;DLT Pipeline | abc123 | risk | 2026-04-15 | NULL&lt;/P&gt;&lt;P&gt;That also solves an important historical problem: if a resource was untagged previously but subsequently receives a valid team tag, we can retro-attribute its historical billing records to the same resource/team without modifying system.billing.usage.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Interactive/serverless usage:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class=""&gt;For usage without a Job/Pipeline/etc we fall back to:&amp;nbsp;&lt;STRONG&gt;identity_metadata.run_as&amp;nbsp;&lt;/STRONG&gt;and also &lt;STRONG&gt;usage_metadata.interactive_source.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;STRONG&gt;For eg:&lt;/STRONG&gt;&lt;/P&gt;&lt;P class=""&gt;billing_origin_product = INTERACTIVE&lt;BR /&gt;interactive_source = DATABRICKS_CONNECT&lt;BR /&gt;run_as = user/service-principal&lt;/P&gt;&lt;P class=""&gt;&lt;U&gt;&lt;STRONG&gt;How we implemented tagging:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Ownership tags such as &lt;STRONG&gt;team&lt;/STRONG&gt; were added directly to workflow definitions in code base, making ownership part of deployment.&lt;/LI&gt;&lt;LI&gt;For classic compute, cluster policies, pool tags, and cluster custom tags were used to carry team ownership.&lt;/LI&gt;&lt;LI&gt;For serverless Jobs and pipelines, budget policies were deployed through Terraform and referenced through budget_policy_id. Their tags then flow into&amp;nbsp;subsequent billing records under system.billing.usage.custom_tags.&lt;/LI&gt;&lt;LI&gt;For SQL warehouse, the ownership &lt;STRONG&gt;tags&amp;nbsp;&lt;/STRONG&gt;were provisioned as part of &lt;STRONG&gt;terraform.&amp;nbsp;&lt;/STRONG&gt;Can configure manually too, to edit and assign tags.&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;U&gt;&lt;STRONG&gt;Budget Policies&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P class=""&gt;Budget/serverless policies help significantly going forward because their tags can propagate into billing usage. But we found they shouldn't be considered the entire attribution solution:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Policy/resource tags
        ↓
system.billing.usage.custom_tags
        ↓
Resource mapping
        ↓
Identity mapping
        ↓
Platform/shared
        ↓
Unattributed&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Platform costs&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;We also deliberately don't force everything onto teams. Things such as:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA_QUALITY_MONITORING&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PREDICTIVE_OPTIMIZATION&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NETWORKING&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FINE_GRAINED_ACCESS_CONTROL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;could represent Databricks managed/platform activity rather than a team-owned. Those can be kept as Platform/Shared rather than inventing an attribution.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Summary&lt;/U&gt;:&amp;nbsp;&lt;/STRONG&gt;we didn't accept all serverless spend as a central cost. We attribute what can be reliably attributed using tags → resource IDs → identity, explicitly retain platform/shared costs, and expose whatever remains genuinely unattributed.&lt;/P&gt;&lt;P&gt;I am working on a detailed blog post to cover comprehensively, but the above content covers most parts of it.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 15:53:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/167962#M55804</guid>
      <dc:creator>data_pulse</dc:creator>
      <dc:date>2026-09-08T15:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168036#M55822</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248581"&gt;@Islam_hoti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This is a classic "Day 2" problem for any platform team shifting to serverless. You’ve hit on the tension between the architectural benefits of serverless (no cluster management) and the organizational requirement for chargeback granularity.&lt;/P&gt;&lt;P&gt;We have found that&amp;nbsp;System Tables&amp;nbsp;are the baseline, but you are right—they are "directionally useful" rather than "finance-perfect" without a strict governance policy.&lt;/P&gt;&lt;P&gt;Here is how we’ve approached the "Attribution Gap":&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Mandatory Tags &amp;amp; Budget Policies:&amp;nbsp;Budget policies are essential, but they are a "gate," not a "retroactive fixer." We treat them as a non-negotiable architectural standard for all new assets. If an asset isn't tagged, it doesn't move to production. This stops the "unattributed bucket" from growing.&lt;/LI&gt;&lt;LI&gt;The Interactive Notebook Dilemma:&amp;nbsp;We stopped treating ad-hoc usage as a "shared cost." We now restrict interactive serverless usage in PROD environments. For development, we allocate a fixed "Innovation Budget" per team that is absorbed centrally. It’s cleaner to budget a lump sum for R&amp;amp;D than to try and bill an individual for 45 minutes of DBU consumption.&lt;/LI&gt;&lt;LI&gt;The "Reliable Chargeback" Layer:&amp;nbsp;We actually built a custom logic layer on top of System Tables. We map&amp;nbsp;job_id&amp;nbsp;and&amp;nbsp;pipeline_id&amp;nbsp;to a mapping table (which we manage in a separate config file) that links these IDs to&amp;nbsp;team_cost_centers. If a job is orphaned or lacks a tag, it defaults to a "General Platform" bucket, which we review monthly with department leads. It’s not automated "perfection," but it makes the conversation with Finance much easier.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The "Honest" Take:&amp;nbsp;To your last question: Yes, we did decide that at a certain point, the cost of "perfect" attribution exceeds the value of the chargeback. We aim for 90% attribution accuracy. The remaining 10% (the "noisy neighbor" or the "forgotten workspace tag") is treated as a tax for using a shared, high-performance platform.&lt;/P&gt;&lt;P&gt;Has anyone else found a way to automate that last 10% of attribution, or are we all just living with the "Platform Tax"?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2026 06:00:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168036#M55822</guid>
      <dc:creator>Khasim_1</dc:creator>
      <dc:date>2026-09-09T06:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168040#M55825</link>
      <description>&lt;P&gt;We found mandatory tags help a lot for jobs, but interactive usage still needs identity-based attribution. Rather than chasing 100% accuracy, we report team-owned usage plus a small shared/ad-hoc bucket. A simple layer over the system billing tables has been enough for chargeback without trying to reconstruct everything retroactively.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2026 06:50:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168040#M55825</guid>
      <dc:creator>davidwarner344</dc:creator>
      <dc:date>2026-09-09T06:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: How are you attributing serverless costs back to individual jobs and teams?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168073#M55830</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/248581"&gt;@Islam_hoti&lt;/a&gt;&amp;nbsp;the most defensible model is to separate measured attribution from allocation policy instead of forcing every DBU into a team bucket.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Exact workload attribution.&lt;/STRONG&gt; Use &lt;STRONG&gt;system.billing.usage&lt;/STRONG&gt; as the ledger. For serverless jobs, group by &lt;STRONG&gt;workspace_id&lt;/STRONG&gt;, &lt;STRONG&gt;usage_metadata.job_id&lt;/STRONG&gt;, and &lt;STRONG&gt;usage_metadata.job_run_id&lt;/STRONG&gt;, then sum every matching record because one run can emit several billing rows. Join &lt;STRONG&gt;system.billing.list_prices&lt;/STRONG&gt; on cloud, SKU, and effective dates. Map the workload to a team with &lt;A href="https://docs.databricks.com/aws/en/admin/usage/budget-policies" target="_blank" rel="noopener"&gt;serverless usage policy&lt;/A&gt; tags in &lt;STRONG&gt;custom_tags&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Interactive notebooks.&lt;/STRONG&gt; Use &lt;A href="https://docs.databricks.com/aws/en/admin/system-tables/serverless-billing" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;identity_metadata.run_as&lt;/STRONG&gt; with &lt;STRONG&gt;usage_metadata.notebook_id&lt;/STRONG&gt; and &lt;STRONG&gt;notebook_path&lt;/STRONG&gt;&lt;/A&gt;, then map that identity to an effective-dated team or cost center. This supports historical allocation, but it is not retroactive tagging: existing assets are not automatically assigned policies, and policy changes affect only new usage.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Ad hoc SQL.&lt;/STRONG&gt; Billing is exact at warehouse level through &lt;STRONG&gt;usage_metadata.warehouse_id&lt;/STRONG&gt;. Use &lt;A href="https://docs.databricks.com/aws/en/compute/sql-warehouse/monitor/queries" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;system.query.history&lt;/STRONG&gt;&lt;/A&gt; fields such as &lt;STRONG&gt;executed_by&lt;/STRONG&gt;, query tags, and duration to explain who drove activity. Any per-user split of shared warehouse DBUs is an allocation rule, not a measured per-query bill, so disclose the rule.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Shared costs.&lt;/STRONG&gt; Keep managed platform activity and records with no defensible owner in explicit &lt;STRONG&gt;Shared&lt;/STRONG&gt; and &lt;STRONG&gt;Unattributed&lt;/STRONG&gt; buckets. Track those percentages and remediate missing ownership; do not silently spread them across teams.&lt;/LI&gt;&lt;/OL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;“For accurate job cost tracking, Databricks recommends running jobs on dedicated job compute or serverless compute” &lt;A href="https://docs.databricks.com/aws/en/admin/system-tables/jobs" target="_blank" rel="noopener"&gt;Databricks documentation&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For finance, publish separate totals for exact workload, identity-mapped, allocated SQL, shared, and unattributed spend. That gives clean forward attribution without pretending the historical record is more precise than it is. I would centralize only the genuinely shared bucket, not all serverless spend.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2026 11:42:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-are-you-attributing-serverless-costs-back-to-individual-jobs/m-p/168073#M55830</guid>
      <dc:creator>ivanvyd</dc:creator>
      <dc:date>2026-09-09T11:42:26Z</dc:date>
    </item>
  </channel>
</rss>

