Skip to main content
Version: 0.7.0

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​

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.