Rebuilds a bulk, read-only operational view of runs and dispatch queues.
The collector loads each run and queue projection once so status and doctor reports can aggregate durable facts without repeated per-run queue rebuilds.
Summary
Functions
Collects operational projections using optional Squidie configuration and :now overrides.
Returns planned runnables that are missing from the selected queue projection.
Returns completed queue attempts that have not been applied to the run projection.
Types
@type queue() :: %{ queue: String.t(), partition: String.t() | nil, projection: Squidie.Runtime.DispatchProtocol.Projection.t(), attempts: [Squidie.Runtime.DispatchProtocol.ActionAttempt.t()] }
@type t() :: %Squidie.Operations.Collector{ catalog_anomalies: [map()], config: Squidie.Config.t(), now: DateTime.t(), queues: %{required(String.t()) => queue()}, runs: [run()] }
Functions
Collects operational projections using optional Squidie configuration and :now overrides.
Returns planned runnables that are missing from the selected queue projection.
@spec pending_results(run(), queue()) :: [ Squidie.Runtime.DispatchProtocol.ActionAttempt.t() ]
Returns completed queue attempts that have not been applied to the run projection.