A KPI is not just any number monitoring can produce, but a selected set: it answers whether the work is moving towards the goals of the business or the project. The other metrics remain diagnostic — they are used to find the cause when a key indicator slips.
Types of KPI
| Attribute | Types | Examples |
|---|---|---|
| By level | an organisation, a team, an individual process | company revenue and NPS; support first response time; share of releases rolled back |
| By timing | lagging — the result has already happened; leading — give an early warning | quarterly revenue, share of resolved tickets; automated test coverage, number of open vulnerabilities |
How KPIs are chosen and measured
- tie it to a goal: each KPI answers the question “have we met the target”;
- set a baseline and a target: “share of first replies within an hour — from 55 to 80% over a quarter”;
- fix the formula, the data source and the period so the figure can be reproduced;
- revise the set once the goal is met or has changed — KPIs do not live forever.
Keep the formula simple and verifiable. For example, the KPI “support replies quickly” is calculated as:
SELECT round(100.0 * count(*) FILTER (WHERE first_reply_at - created_at <= interval '60 minutes') / count(*), 1) AS first_reply_within_hour_pctFROM ticketsWHERE created_at >= date_trunc('month', now());KPI, OKR and Goodhart’s law
A KPI is a standing measure of the health of a process or a product: it is kept at its level and monitored so it does not slip. OKRs work differently: a goal and 3–5 measurable key results per quarter, then a new set. A KPI can feed into a key result but does not replace the goal: a number without direction leads nowhere.
Once a metric becomes a target it stops being an honest measure: the team will start working for the number rather than the result (Goodhart’s law). The DORA guide advises against setting a metric as a goal and against hunting for “one metric to rule them all” — a complex system is described by several indicators, some of which balance each other.
Sources
the term is written from these pagesVerified 18 Nov