Convert a baseline into a service level objective with a stated error budget.
An SLO (service level objective) is a promise about how well a service will perform. This shows the difference between a promise that sounds nice and one you can actually run a team on.
|
Component |
Weak version |
Defensible version |
|
The indicator |
“DNS is fast” |
p95 resolution latency for cold lookups, measured per market from real client networks |
|
The target |
“As fast as possible” |
p95 under 80 ms in primary markets, under 150 ms in secondary markets |
|
The window |
Unstated |
A rolling 28 days, so a single bad day cannot be averaged away or dominate |
|
The error budget |
None |
0.5% of the window may breach the target before changes freeze and remediation starts |
|
The owner |
“The infrastructure team” |
A named engineer who receives the alert and can authorise a rollback |
Four points are worth underlining.
- The indicator must say “cold lookups” and “per market”. A warm global average will satisfy any target you set and tell you nothing.
- The target should differ by market. One global number is either impossibly strict for distant markets or so loose that it never triggers. Tiered targets are both honest and easy to defend to a business audience.
- The window decides what the SLO catches. Twenty-eight days is long enough to smooth out noise, and short enough that a genuinely bad week stays visible.
- The error budget is the part that makes it all work. Think of your mobile data bundle: once it is used up, you stop streaming. In the same way, when the error budget is spent, changes stop and fixing starts, without anyone needing a long negotiation.
And finally, name a person. An SLO owned by a team is owned by nobody. The point of naming an owner is to guarantee that the alert reaches someone with the power to roll a change back.
An SLO without a budget is a wish. The error budget converts a target into a rule about when to stop shipping.
Draft one DNS SLO using all five components and put it in your plan.
Would your current monitoring detect a breach of the SLO you just wrote? If not, what would you have to measure first?
