ZenMonitor v1.0.0 ZenMonitor.Metrics View Source

Metrics helper for monitoring the ZenMonitor system.

Link to this section Summary

Functions

Given a pid or a registered name, this will return the message_queue_len as reported by Process.info/2

Registers various probes for the ZenMonitor System

Given a table identifier, returns the size as reported by :ets.info/2

Link to this section Functions

Link to this function message_queue_len(target) View Source
message_queue_len(target :: nil | pid() | atom()) :: nil | integer()

Given a pid or a registered name, this will return the message_queue_len as reported by Process.info/2

Link to this function register() View Source
register() :: :ok

Registers various probes for the ZenMonitor System.

  • ERTS message_queue_len for the ZenMonitor.Local and ZenMonitor.Proxy processes.
  • Internal Batch Queue length for ZenMonitor.Local (dispatches to be delivered)
  • ETS table size for References (number of monitors)
  • ETS table size for Subscribers (number of monitored local processes * interested remotes)
Link to this function table_size(tid) View Source
table_size(:ets.tid()) :: nil | integer()

Given a table identifier, returns the size as reported by :ets.info/2