View Source ZenMonitor.Metrics (ZenMonitor v2.0.1)

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

Specs

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

Specs

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)

Specs

table_size(:ets.tid()) :: nil | integer()

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