Skip to main content
Version: 0.14.1

Severity

Every event and every health report carries a severity, on one ordered scale. It lets a consumer sort, filter and paint what it shows without understanding the types, for instance by showing everything at 50 or above. The Core grades its own conclusions, and a unit grades what it reports. The Core never decides anything by severity, because that would let a unit choose how it is treated. This page gives the anchors, who grades, what severity is never an input to, and what happens to a value above the scale.

The scale runs from 0 to 99, higher being more serious. It fixes an order and not the meaning of any value.

The anchors​

AnchorValue
routine10
notable30
serious50
critical70
  • Severity varies per event, not per type. A unit's state changing into Failed and into Running are 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 fromGraded byIts actor
a conclusion the Core reached — a unit failed, a channel was suspendedthe Corecore, operator or host
an occurrence in a unit's own domain, or its healththe unit, which mustunit
  • 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 toBecause it would let a unit choose
what is deleted from the log storeto keep its own history and evict everyone else's
restart behaviourhow hard the deployment tries to keep it alive
admissionwhether it is let in
scheduling and orderingwhen 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.