Skip to main content

Module node_monitor

Module node_monitor 

Source
Expand description

Cluster node health monitoring with heartbeat tracking.

A NodeMonitor tracks the liveness of cluster nodes by recording incoming heartbeats and timing out nodes that have been silent for longer than a configurable timeout_ms.

Structs§

HeartbeatRecord
A single heartbeat receipt.
NodeInfo
Static information about a registered node.
NodeMonitor
Tracks node health based on heartbeat records and configurable timeouts.

Enums§

NodeRole
Role a node plays in the cluster.
NodeState
Current health state of a node, updated by heartbeat arrival and timeout detection.