BeamConsole.Lifecycle.Observation (beam_console v0.4.0)

Copy Markdown View Source

Carries an ephemeral server-side supervision observation to the recorder.

This is the only lifecycle value that contains actual PIDs. It is used to install local monitors and must never be retained in history, encoded for a client, or reconstructed from an opaque browser entity ID.

Summary

Types

child_state()

@type child_state() :: :running | :restarting | :undefined | :missing

coverage()

@type coverage() :: :complete | :partial | :truncated

slot_kind()

@type slot_kind() :: :stable | :dynamic

t()

@type t() :: %BeamConsole.Lifecycle.Observation{
  child_pid: pid() | nil,
  child_state: child_state(),
  child_type: :supervisor | :worker | nil,
  coverage: coverage(),
  modules: [module()],
  sequence: non_neg_integer(),
  slot_id: String.t(),
  slot_kind: slot_kind(),
  supervisor_pid: pid()
}