esdb_gater_cluster_monitor (reckon_gater v1.3.0)

View Source

Cluster monitor for reckon-gater

Monitors node health and manages cluster membership: - Tracks node up/down events - Emits telemetry for cluster changes - Maintains connected node list

Summary

Functions

get_nodes()

-spec get_nodes() -> [node()].

Get list of connected nodes

handle_call(Request, From, State)

handle_cast(Msg, State)

handle_info(Info, State)

init(_)

is_healthy()

-spec is_healthy() -> boolean().

Check if cluster is healthy

start_link()

-spec start_link() -> {ok, pid()} | {error, term()}.

terminate(Reason, State)