Severity
One ordered scale, from 0 to 99, higher being more serious. The scale fixes an order and not the meaning of any value.
The anchors
| Anchor | Value |
|---|---|
| routine | 10 |
| notable | 30 |
| serious | 50 |
| critical | 70 |
- Severity varies per event, not per type. A unit's state changing into
Failedand intoRunningare one type at different severities. - A consumer can compare two severities without understanding either type.
- The grade in a unit's health report is on the same scale.
Who grades
| Where the event comes from | Graded by | Its actor |
|---|---|---|
| a conclusion the Core reached — a unit failed, a channel was suspended | the Core | core, operator or host |
| an occurrence in a unit's own domain, or its health | the unit, which must | unit |
- A declared grade widens nothing. What a unit may report at all is bounded by what its Manifest declares and its policy grants.
The Core never decides by severity
The Core routes, filters and displays by severity. It never decides by it.
| Severity is never an input to | Because it would let a unit choose |
|---|---|
| what is deleted from the log store | to keep its own history and evict everyone else's |
| restart behaviour | how hard the deployment tries to keep it alive |
| admission | whether it is let in |
| scheduling and ordering | when it runs |
What severity may do is narrow a set: a subscription's floor, a query's floor, how a client paints what it shows. Delivery is identical at every severity.
Nobody restates a declared value
- Above the scale: a declared severity or health grade above 99 is read as 99. The Core carries the report at 99, records a warning attributed to the unit naming the value it declared, and answers the unit with no error. Nothing else is ever moved.
- No calibration offset exists anywhere a deployment is composed. The durable record says what the unit said.
Comparing across producers
Two units by different authors will not calibrate the scale identically, so everything at 50 or above
is sharper within one unit than across a deployment. subject and actor travel with every event, so a
consumer narrows by what an event is about as well as by how serious it claims to be.
Which value pages somebody, raises an alarm or colours a screen is a deployment's own policy over the scale; Yoke does not set one.