View Source ZenMonitor.Proxy (ZenMonitor v2.0.0)

ZenMonitor.Proxy monitors local processes and proxies their down messages to interested ZenMonitor.Locals on remote nodes for fanout.

Link to this section Summary

Types

An instruction is a valid operation upon a given destination

Defines the valid operations that can be processed

A string of instructions with the same operation can be collapsed into a partition for more efficient processing.

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Ping is a diagnostic function to check that the proxy is running.

Link to this section Types

Specs

instruction() :: {operation(), ZenMonitor.destination()}

An instruction is a valid operation upon a given destination

Specs

operation() :: :subscribe | :unsubscribe

Defines the valid operations that can be processed

Specs

partition() :: {operation(), [ZenMonitor.destination()]}

A string of instructions with the same operation can be collapsed into a partition for more efficient processing.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Specs

ping() :: :pong

Ping is a diagnostic function to check that the proxy is running.

It is mainly used by ZenMonitor.Local.Connectors to check if ZenMonitor.Proxy is available and running on a remote node