Engineering metrics thresholds change what a leader does only when the threshold and the action attached to it are written down before the number arrives. Ryan Latta makes the case for that kind of threshold in a recent article on why velocity, DORA and code coverage so often fail to inform decisions. This piece follows his threshold idea to the point where it stops being a private habit and becomes an agreement with the people it affects.
Latta argues that familiar engineering metrics fail because leaders use them without a decision in mind
Latta compares the persistence of velocity, DORA and code coverage to bloodletting, a practice that outlived the doubts of the doctors using it. In his account, velocity was stretched to answer timeline and capacity questions it was never built for, DORA became something organizations were proud to have without knowing how to use, and coverage targets erode quality once coverage becomes the goal. He says the metrics themselves are fine and the way they are used misses the mark.
His remedy is signal mapping. A leader lists about ten recurring decisions, asks what they would need to observe to make each one, keeps five frequent ones, and sets a threshold at which they act. His example is a morale signal: if five people question their job or role within two months, he focuses on morale. He suggests doing this privately at first, treats the discomfort of a first trigger as feedback, and adds that thresholds should be balanced with leading and lagging indicators and with fixed limits on what might be sacrificed, such as quality for speed. In his words, “Signals aren’t proof; they’re indicators.” He closes with a director of eleven teams whose release dates became accurate about 80% of the time once leaders reviewed data together.
Engineering metrics thresholds set in advance remove the negotiation that starts once a number is on screen
The part of signal mapping that does the work is the sentence written before any data comes in: if I observe this much of that, I will do this. Without it, every number that appears in a status meeting becomes the start of an argument about what it means. A lead time that fell while change failure rate rose, the puzzle Latta describes with DORA, can be read as progress or as warning depending on who is speaking. A threshold agreed earlier turns that argument into a lookup.
Latta frames this as a skill a leader builds privately, and for learning that is sensible. The limit of the private version shows up as soon as the action hits other people. His morale signal triggers a change in the leader’s own attention. A speed and quality threshold, the second balance he recommends, triggers a change in what other teams are allowed to ship. A leader who holds that threshold alone will meet the same negotiation the threshold was meant to prevent, only later and with more at stake.
Google’s error budget policy shows what an agreed engineering threshold looks like on paper
Site reliability engineering already has a written form for this. Appendix B of Google’s Site Reliability Workbook publishes an example error budget policy by Steven Thurgood. The template opens with fields for an author, approvers and an approval date. Its central rule is a threshold with an action attached: if a service has exceeded its error budget for the preceding four-week window, the team halts all changes and releases other than P0 issues or security fixes until the service is back within its objective.
The policy adds smaller thresholds of the kind Latta describes. A single incident that consumes more than 20% of the error budget over four weeks requires a postmortem with at least one P0 action item. A single class of outage that consumes more than 20% over a quarter requires a P0 item in the next quarter’s planning. Disagreements about how the budget was calculated or what it requires go to the CTO. The policy also states that it is not a punishment for missing objectives. It gives teams permission to focus on reliability when the data says reliability matters more than features.
Read next to Latta’s article, the policy is a signal map that has been signed. It names the decision, the observation, the threshold and the action, and it names who agreed to them before any of them were tested. That last part is what lets a team stop releases without a meeting about whether it should.
AI governance uses the same if-then structure and sets the trigger early on purpose
My own field, AI governance, has arrived at the same structure from the other direction. In If-Then Commitments for AI Risk Reduction, published by the Carnegie Endowment for International Peace on 13 September 2024, Holden Karnofsky describes commitments of the form: if an AI model has capability X, risk mitigations Y must be in place, and development or deployment will be delayed if needed until they are. He points to the published frontier safety frameworks of AI developers as early versions of this pattern, with capability levels that act as tripwires.
Karnofsky adds a point that engineering leaders can use directly. The tests that check for a tripwire are easier than the real harm they stand in for, so he suggests leaving a buffer and triggering the action when tests show a model is relatively close to the tripwire. Latta’s disk example works the same way. Acting at 80% utilization is a buffer against the moment the disk is full. Every engineering metric is a proxy for something the leader cares about, and a threshold set exactly at the point of harm will usually fire too late.
Pre-agreed thresholds fail for slow, cumulative harm and for signals about people
Karnofsky also states the boundary. He writes that risks which build up over many relatively small incidents may be too hard to anticipate in advance and may be better handled by noticing and reacting than by precommitment. Engineering has its own versions: the slow growth of duplicated code, or the gradual loss of context as experienced engineers leave. No single number crosses a line on a given day. For these, a leader needs the regular review Latta’s director ran with his teams more than a tripwire.
The second boundary is about publication. Latta cites Goodhart’s law for code coverage, the observation that a measure turned into a target stops measuring well. A threshold published to the people being measured is exposed to the same effect. That is acceptable for an error budget, where the behavior it encourages, protecting reliability, is the behavior the organization wants. It is harmful for Latta’s morale signal. If engineers learn that doubts voiced in one-to-ones are being counted toward a trigger, they may stop voicing them. Thresholds that govern system behavior should be signed and shared. Thresholds that depend on what people say in confidence should stay private.
Why This Matters for Engineering Leadership
Latta’s signal mapping gives a leader a reason to keep a metric: it is tied to a decision. The step after that is deciding which of those decisions affect other teams, and writing those down with the same four parts an error budget policy uses: the observation, the threshold, the action and the people who approved it. Set the trigger with a buffer, because the metric is a proxy. Keep a separate habit of review for harm that builds slowly, because no threshold will catch it. Keep signals about people out of shared dashboards. A leader who does this will still face the discomfort Latta describes when a signal first fires. The difference is that the decision about what to do next will already have been made, by the people who have to live with it.
FAQ
What is an engineering metrics threshold?
It is a value, written down in advance, at which a leader commits to act. Ryan Latta’s example is hearing five people question their role within two months as the trigger to invest in team morale.
Why should the action be agreed before the data arrives?
Once a number is on the screen, the people it affects start negotiating what it means. A threshold and action agreed earlier turn that negotiation into a lookup.
What is an error budget policy?
It is Google’s written agreement on what happens when a service misses its reliability target. The published example halts all changes and releases except P0 issues and security fixes once the four-week error budget is exceeded.
What do AI if-then commitments have in common with engineering metrics?
Both pair a measured trigger with an action fixed in advance. Holden Karnofsky’s 2024 paper also recommends triggering early, because the tests only approximate the risk they stand in for.
Should every engineering signal be published to the team?
No. Signals about people, such as what is said in one-to-one meetings, are likely to change once people know they are being counted, so those are better kept private.
When are pre-agreed thresholds the wrong tool?
When harm builds up from many small events no single number captures. Karnofsky notes those risks may be better handled by noticing and reacting than by precommitment.
