Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

Typed payload structs for the ADR-094 lifecycle telemetry events.

These are a documentation/test convenience only: the persisted discriminant on a stored crate::Event remains khive_types::EventKind, and each payload here is serialized into that event’s JSON payload field by the emitting call site. Nothing here changes storage schema.

Structs§

ChannelBackoffArmedPayload
Payload for khive_types::EventKind::ChannelBackoffArmed.
ChannelBackoffResetPayload
Payload for khive_types::EventKind::ChannelBackoffReset.
ChannelHeartbeatPersistFailedPayload
Payload for khive_types::EventKind::ChannelHeartbeatPersistFailed.
ChannelPollFailedPayload
Payload for khive_types::EventKind::ChannelPollFailed.
ChannelPollStartedPayload
Payload for khive_types::EventKind::ChannelPollStarted.
ChannelPollSucceededPayload
Payload for khive_types::EventKind::ChannelPollSucceeded.
CheckpointOutcomeRecordedPayload
Payload for khive_types::EventKind::CheckpointOutcomeRecorded.
ConfigLockedPayload
Payload for khive_types::EventKind::ConfigLocked.
PhaseCancelledPayload
Payload for khive_types::EventKind::PhaseCancelled (ADR-103 Stage 1). Same shape as PhaseCompletedPayload — the phase ran for wall_us before being cut short rather than returning a result.
PhaseCompletedPayload
Payload for khive_types::EventKind::PhaseCompleted (ADR-103 Stage 1).
PhaseStartedPayload
Payload for khive_types::EventKind::PhaseStarted (ADR-103 Stage 1).

Enums§

LifecycleEvent
Mirrors the eight ADR-094 lifecycle EventKind variants plus the three ADR-103 Stage 1 phase-span variants. Not itself persisted — see the module docs.