Minga.SystemObserver.ProcessSnapshot (Minga v0.1.0)

Copy Markdown View Source

A point-in-time snapshot of a single BEAM process's metrics.

Captured via Process.info/2 during the on-demand polling tier.

Summary

Types

child_type()

@type child_type() :: :supervisor | :worker | :unknown

process_class()

@type process_class() ::
  :supervisor | :buffer | :agent_session | :lsp | :service | :worker

t()

@type t() :: %Minga.SystemObserver.ProcessSnapshot{
  child_type: child_type(),
  current_function: {module(), atom(), arity()} | nil,
  memory: non_neg_integer(),
  message_queue_len: non_neg_integer(),
  parent_pid: pid() | nil,
  process_class: process_class(),
  reductions: non_neg_integer(),
  registered_name: atom() | nil
}