THE LINUX FOUNDATION PROJECTS
Docs navigation
On this page

    2.6 Cost and Usage Attribution

    2.6.1 Description

    Many service providers have features that allow FinOps practitioners to enrich cost and usage data with metadata that is in addition to service provider defined data, in order to analyze FinOps data using organizational, deployment, or other structures. These features may take the form of directly applied metadata or inherited metadata. FOCUS facilitates the inclusion of this metadata at a row level.

    2.6.2 Directly Dependent Columns

    2.6.3 Supporting Columns

    2.6.4 Example SQL Query

    Example SQL Query

    SELECT
      tags,
      ConsumedUnit,
      SUM(BilledCost),
      SUM(EffectiveCost),
      SUM(ConsumedQuantity)
    FROM focus_data_table
    WHERE BillingPeriodStart >= ? AND BillingPeriodEnd < ?
    GROUP BY
      tags,
      ConsumedUnit