BeamConsole.Snapshot (beam_console v0.5.3)

Copy Markdown View Source

Represents one immutable, versioned sample of the visible BEAM topology.

Entity maps are keyed by opaque BeamConsole IDs, while index retains the private lookup information needed for server-side selection.

Summary

Types

private_index_value()

@type private_index_value() ::
  {:application, atom()} | {:node, String.t()} | {:process, pid()}

t()

@type t() :: %BeamConsole.Snapshot{
  applications: %{required(String.t()) => BeamConsole.ApplicationInfo.t()},
  collector_epoch: String.t() | nil,
  coverage: BeamConsole.Coverage.t(),
  edges: %{required(String.t()) => BeamConsole.SupervisionEdge.t()},
  index: %{required(String.t()) => private_index_value()},
  lifecycle_observations: [BeamConsole.Lifecycle.Observation.t()],
  local_node_id: String.t(),
  monotonic_ms: integer() | nil,
  nodes: %{required(String.t()) => BeamConsole.NodeInfo.t()},
  processes: %{required(String.t()) => BeamConsole.ProcessInfo.t()},
  runtime_sample: BeamConsole.Runtime.Sample.t() | nil,
  sampled_at: DateTime.t(),
  sequence: non_neg_integer(),
  stale?: boolean()
}