push_ex v0.2.0-rc1 PushEx.Instrumentation.Tracker
GenServer that tracks channels and transports to keep track of how many sockets/channels are connected currently. All tracking is for the current node only. Presence must be used for full-cluster tracking.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Returns the number of channels connected to this node
Returns the number of sockets (transports) connected to this node
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
connected_channel_count(opts \\ [])
Returns the number of channels connected to this node.
Link to this function
connected_socket_count(opts \\ [])
Returns the number of sockets (transports) connected to this node.