BeamConsole.Runtime.Adapter behaviour (beam_console v0.5.0)

Copy Markdown View Source

Defines the bounded snapshot contract used by the shared collector.

Adapters must return normalized BeamConsole structs and must not expose raw runtime terms to the web client.

Summary

Callbacks

Collects one immutable runtime snapshot using the supplied limits.

Callbacks

snapshot(keyword)

@callback snapshot(keyword()) :: {:ok, BeamConsole.Snapshot.t()} | {:error, term()}

Collects one immutable runtime snapshot using the supplied limits.