
Total cloud spend increased while cost per client decreased, making infrastructure efficiency visible
Overview
Costory Explorer lets you combine cost metrics, usage metrics, and formulas in the same chart. Instead of stopping at “compute spend increased”, you can track “cost per active user decreased” or “cost per transaction crossed our target”. Use unit economics when you need to:- Explain cloud cost increases in the context of business growth
- Track cost per customer, API call, transaction, build minute, or container-hour
- Compare efficiency by team, service, region, or product
- Report engineering improvements in the same terms finance and leadership use
What you can build
- Track infrastructure ratios such as cost per GB transferred, build minute, or container-hour by dividing cloud spend by usage metrics from your billing data or Datadog.
- Track application ratios such as cost per API call, daily active user, or transaction by connecting external metrics from Amplitude, BigQuery, CSV, or Google Sheets.
- Compare the cost of a new service against the service it replaced by grouping formulas by service tag.
- Track realized savings from or CUDs by computing
list_cost - total_cost. - Build custom KPIs for commitment utilization, coverage, and ROI.
Metric types
Costory’s query bar supports the metric types you need for formulas.- Cost metrics
- Usage metrics
- External metrics
Prerequisites
To build formulas from business or application activity, connect at least one usage metrics source. Supported sources include:- Datadog for infrastructure and application metrics
- Amplitude for product analytics such as DAU, MAU, and sessions
- BigQuery for warehouse-native metrics
- CSV or Google Sheets for manual imports
Create a unit economics formula
Open Explorer
Add metrics
Add a formula
- If metric a is total cost and metric b is GB-Hours,
a / bgives you cost per GB-Hour. - If metric a is total cost and metric b is Daily Active Users,
a / bgives you cost per DAU.

The formula editor combines multiple metrics and cost queries with letter references
+, -, *, /, and parentheses. For rolling averages or conditional logic, pre-compute the metric in your source system before importing it.Visualize the result

Cost per DAU plotted over time alongside total cloud spend
Save and share
Frequently asked questions
How do I track cloud cost per user or per transaction?
How do I track cloud cost per user or per transaction?
Do formulas work with group-by dimensions?
Do formulas work with group-by dimensions?
What operators can I use in formulas?
What operators can I use in formulas?
+, -, *, /) and parentheses. Each metric is referenced by its letter label. Formulas operate on the aggregated value per time bucket.Can I alert on a unit economics metric?
Can I alert on a unit economics metric?


