Expand description
Healthcheck common
Structs§
- Default
Writer - A default
HealthOperatorfor use in normal cases. - Health
State 🔒 - Health
Status Message - A health message consumed by the
health_operator. - PerWorker
Health 🔒Status
Enums§
- Health
Status Update - 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.
- Overall
Status - Status
Namespace - The namespace of the update. The
Ordimpl matter here, later variants are displayed over earlier ones.
Traits§
- Health
Operator - A trait that lets a user configure the
health_operatorwith custom behavior. This is mostly useful for testing, and theDefaultWritershould be the correct implementation for everyone.
Functions§
- health_
operator 🔒 - Writes updates that come across
health_streamto the collection’s status shards, as identified by theirCollectionMetadata.