Skip to main content
Version: 0.8.0

The catalogue

The event types as they stand: what each is about, its class, the severity the Core gives it, and what its detail carries. The set grows as producers appear; see names and filtering.

Where the severity column names a source instead of a number, the unit declared the value and the Core carries it unchanged; see severity.

instance​

TypeClassSeveritydetail
instance.readylevel10—
instance.stoppinglevel10—

instance.ready is published when the instance becomes observable. instance.stopping is published when the stop begins, which is also when liveness stops, so that an expected silence is told from a fault.

unit​

TypeClassSeveritydetail
unit.state.changedlevelby destination: Failed 50, Refused 30, any other 10from, to; plugin where the unit is a copy of one; exit_status where the process exited; signal where a signal ended it; skipped where a unit that runs to completion was not launched because its migrates_from does not admit the version that last ran — the range, and that version or none (migrating state)
unit.condition.changedlevelthe grade the unit reportedfrom, to — grades, either absent where the unit had not reported; message, the line of text
unit.stream.activatedlevel10stream
unit.stream.stoppedlevel10 when asked for, 30 otherwisestream, reason
unit.occurrence.reportededgethe grade the unit reportedwhat the unit sent with it; the class is in the envelope's occurrence field, not here
  • The subject carries the incarnation, so four copies of one Plugin produce four independent sequences.
  • A stream's state is one level per stream: unit.stream.activated and unit.stream.stopped are its two values, identified by the unit and the stream in the detail, and the current one is whichever came last.
  • unit.condition.changed has actor unit: the Core translates the report and does not re-grade it. A report never moves a unit between states, and a unit that never reported has no condition.
  • A unit whose backend has gone quiet while its process or container runs carries the condition that it is not currently observable, with the instant it began — the one condition the Core concludes and grades itself.
  • unit.occurrence.reported is one type for every domain occurrence. It is an edge: a reported occurrence leaves no current value behind. An occurrence class the unit did not declare, or was not granted, is refused at the plugin surface and never published.

plugin​

TypeClassSeveritydetail
plugin.policy.changedlevel30enabled, where enablement changed; granted and withdrawn, each a list of capability names

Its actor is operator, carrying the person's identity.

channel​

TypeClassSeveritydetail
channel.attachedlevel10client — the identity the channel established
channel.detachedlevel10client, reason
channel.suspendedlevel30reason; by, the channel that prevailed, where one did; retains, what this channel keeps while suspended
channel.resumedlevel10—
channel.subscription.stalelevel50since — when the subscription last confirmed

A suspended client learns it was displaced as an ordinary subscriber to its own channel. Why it was displaced is in reason; there is no type per reason.

document​

TypeClassSeveritydetail
document.resolvedlevel10what the document resolved to, and the digest it was read at
document.rejectededge30finding — the code and the place, in the validator's vocabulary
document.conflictededge30with — the other document; finding
  • Discovery produces all three, as it resolves the composing document and every Manifest.
  • document.rejected and document.conflicted are declarations the running Core refuses: a Manifest that does not parse, or whose identity disagrees with the path it was read from. What is refused before a Core exists is not an event.

connection​

TypeClassSeveritydetail
connection.openedlevel10projection — which of the administrative surface's two
connection.closedlevel10projection, reason

Their actor is operator, carrying the identity; the subject is the connection.

Durable counterparts​

Every type is written to the log store as an entry — except plugin.policy.changed, whose counterpart is an audit record in the Registry.

Everything else is an observation about the deployment, under the log store's retention. A policy change is a decision about authority, kept beside the policy it changed and under no retention.

Why the types are shaped this way​

  • One unit.state.changed, carrying from and to, not a type per state. A consumer wanting only failures filters on the destination, and a new state adds no name.
  • One plugin.policy.changed for enablement and grants alike: both are an operator changing what a plugin may do.
  • One channel.suspended, carrying its reason, whatever displaced the channel.