BeamConsole.Runtime.Local (beam_console v0.4.0)

Copy Markdown View Source

Collects bounded topology and process details from the local BEAM node.

The adapter uses standard OTP/runtime APIs and normalizes their results into safe BeamConsole structs. Connected nodes are listed but are not queried.

Summary

Functions

Returns allowlisted details for a local process present in the snapshot.

Functions

detail(pid, snapshot, options \\ [])

@spec detail(pid(), BeamConsole.Snapshot.t(), keyword()) ::
  {:ok, BeamConsole.ProcessDetail.t()} | {:error, :unavailable}

Returns allowlisted details for a local process present in the snapshot.

The call returns {:error, :unavailable} when the PID is remote, has exited, or no longer matches a process in the supplied snapshot.