SquidSonar.Dashboard (squid_sonar v0.1.1)

Copy Markdown View Source

Builds dashboard-ready runtime snapshots.

Summary

Functions

Loads recent runs and returns the dashboard snapshot.

Types

t()

@type t() :: %SquidSonar.Dashboard{
  filtered_count: non_neg_integer(),
  filters: map(),
  load_error: term() | nil,
  loaded_at: DateTime.t(),
  loaded_count: non_neg_integer(),
  page: pos_integer(),
  page_size: pos_integer(),
  page_sizes: [pos_integer()],
  runs: [SquidSonar.Runs.RunSummary.t()],
  status_counts: %{required(atom()) => non_neg_integer()},
  statuses: [atom()],
  total_pages: pos_integer()
}

Functions

load(opts \\ [])

@spec load(keyword()) :: t()

Loads recent runs and returns the dashboard snapshot.