Lesson 3 of 3 Collecting and Analyzing Cost Data

Engineering Metrics and KPIs

Metrics turn cost data into goals that teams can act on. This lesson describes the KPIs most relevant to engineering teams, how they are calculated, and how to choose KPIs that drive the right behavior.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the qualities of a good FinOps KPI.
  • Identify usage and efficiency KPIs owned by engineering teams.
  • Calculate commitment coverage, utilization and the Effective Savings Rate.
  • Explain how to set KPI targets by maturity.
  • Explain how to avoid perverse incentives when choosing KPIs.

What makes a good KPI

A key performance indicator (KPI) is a metric with a target that indicates progress toward a goal. A good FinOps KPI has a precise definition, a reliable data source, an owner who can influence it, a target and a visible trend. Engineers should be measured on metrics they control, such as waste and unit cost, rather than on total spend, which also rises when the business grows.

Usage and efficiency KPIs

The following terms define the KPIs that engineering teams most often own.

Allocation percentage
The share of cost with an identified owner. Mature practices often target 90% or more.
Idle or waste percentage
The share of cost from idle, orphaned or unused resources.
Rightsizing opportunity
Estimated monthly savings from open rightsizing recommendations, as a share of spend.
Unit cost
Effective cost per unit of business output, such as cost per order or per thousand requests.
Anomaly response time
Time from an anomaly alert to its resolution or acceptance.
Forecast accuracy
Variance between forecast and actual spend, often targeted within a few percent at higher maturity.
Sort into groups

Usage or rate KPI?

Exam skills 2.2.4

Classify each KPI by what it measures.

Log in to try this activity Interactive activities are free with an account.

Rate KPIs

Rate KPIs are mostly owned by the central FinOps team, but engineers should understand them. The following table defines the three main rate KPIs.

KPIFormulaWhat it shows
Commitment coverageEligible usage covered by commitments / total eligible usageHow much of the usage that could be committed is committed
Commitment utilizationCommitment used / commitment purchasedHow much of what was bought is being used
Effective Savings Rate (ESR)(On-demand equivalent - actual cost) / on-demand equivalentThe overall percentage saved through rate optimization

ESR summarizes coverage, utilization and discount depth in one number, which makes it useful for comparing portfolios over time.

Avoiding perverse incentives

KPIs shape behavior, sometimes badly. A target to reduce total spend can push teams to cut reliability or delay valuable work. A target of 100% commitment utilization can lead to under-buying commitments. Pairing metrics helps: unit cost with service-level objectives, utilization with coverage, and savings with reliability measures.

The following diagram compares a total-cost KPI with efficiency KPIs.

A total-cost cap compared with efficiency KPIs for a service whose demand grows. A fixed cap forces the team either to miss the target while improving or to cut quality. Unit cost with a downward target, an idle percentage limit and the existing service-level objectives reward efficiency without degrading the product.
Quality guardrails stop efficiency targets from degrading the product.
Scenario questions

Choosing KPIs

Exam skills 2.2.4

Choose KPIs that encourage the right engineering behavior.

Log in to try this activity Interactive activities are free with an account.

Setting targets by maturity

Targets should reflect the organization's maturity rather than an ideal. The FinOps Foundation's maturity guidance gives indicative levels, for example cost allocation of around 70% at Crawl, 85% at Walk and 90% or more at Run, and forecast variance narrowing from about 20% toward 10% and then 5% as the practice matures. A team that today allocates 55% of its cost gains more from a target of 75% this quarter than from an unreachable 95%.

Targets for unit cost are usually expressed as a trend, such as a 10% reduction in cost per order over a year, because the right absolute level depends on the product. Targets for waste can be absolute, such as idle cost below 5% of spend, because waste has no business value at any level.

Reporting KPIs to engineers

KPIs change behavior only if engineers see them where they work and can act on them. Each KPI should be shown with its trend, its target and the items behind it: an idle percentage links to the list of idle resources, a rightsizing opportunity links to the recommendations, and a unit cost links to the services that make it up. A KPI that cannot be drilled into tells a team it has a problem without telling it what to do.

Reviewing a small set of KPIs regularly, for example monthly with each product team, works better than publishing dozens of metrics that nobody owns.

Worked example

Calculating ESR

A month's eligible compute would have cost USD 100,000 at on-demand rates. With commitments and spot, the actual effective cost was USD 72,000. What is the ESR?

ESR = (100,000 - 72,000) / 100,000 = 28%. If next month the team removes idle instances, both the on-demand equivalent and the actual cost fall; ESR may stay the same, because it measures rate optimization, while the waste percentage and total cost show the usage improvement.

Worked example

Choosing a team's KPIs

Leadership wants a single KPI for a video-streaming platform team: "monthly cloud cost below USD 500,000". Viewing hours are growing 8% a month. Why is this a poor KPI, and what is better?

Total cost will rise with growth, so the team would either miss the target while improving or would have to cut quality. Better KPIs are cost per thousand viewing hours with a downward target, idle percentage below an agreed level, and the existing service-level objectives for playback quality, so efficiency is improved without degrading the product.

Check yourself

Why is total monthly spend a poor KPI for an engineering team whose product is growing?

Show answer

Total spend rises with business volume, which the team does not control, so the team could improve efficiency and still miss the target. Unit cost and waste percentage measure what the team does control.

Exam Tips

Remember for the exam

  • Measure engineers on what they control: waste, unit cost and allocation.
  • Coverage, utilization and ESR are the main rate KPIs.
  • ESR = (on-demand equivalent - actual) / on-demand equivalent.
  • Pair KPIs to avoid perverse incentives, such as unit cost with service-level objectives.