Module healthcheck

Source
Expand description

Healthcheck common

Structs§

DefaultWriter
A default HealthOperator for use in normal cases.
HealthState 🔒
HealthStatusMessage
A health message consumed by the health_operator.
PerWorkerHealthStatus 🔒

Enums§

HealthStatusUpdate
NB: we derive Ord here, so the enum order matters. Generally, statuses later in the list take precedence over earlier ones: so if one worker is stalled, we’ll consider the entire source to be stalled.
OverallStatus
StatusNamespace
The namespace of the update. The Ord impl matter here, later variants are displayed over earlier ones.

Traits§

HealthOperator
A trait that lets a user configure the health_operator with custom behavior. This is mostly useful for testing, and the DefaultWriter should be the correct implementation for everyone.

Functions§

health_operator 🔒
Writes updates that come across health_stream to the collection’s status shards, as identified by their CollectionMetadata.