BeamConsole.Recorder.Query (beam_console v0.5.2)

Copy Markdown View Source

Returns bounded recorder history views with explicit omission and range metadata.

Querying first prunes expired history at an injected or current monotonic timestamp, so stale values cannot survive merely because sampling paused.

Summary

Functions

Returns newest lifecycle events under the configured timeline cap.

Returns ordered aggregate frames under the configured frame cap.

Types

item()

t()

@type t() :: %BeamConsole.Recorder.Query{
  available_from_ms: integer() | nil,
  available_to_ms: integer() | nil,
  chart_points_limit: pos_integer(),
  dropped: non_neg_integer(),
  items: [item()],
  omitted: non_neg_integer(),
  segment: non_neg_integer()
}

Functions

events(history, options \\ [])

Returns newest lifecycle events under the configured timeline cap.

frames(history, options \\ [])

Returns ordered aggregate frames under the configured frame cap.