Data and action helpers for the optional Continuum Observer.
The Observer is mounted from a host Phoenix router with
Continuum.Observer.Router.continuum_observer/2. Continuum does not start an
Observer supervisor and does not provide authentication; mount it only inside
an authenticated admin scope.
Query helpers in this module are Phoenix-independent and operate on the
configured Continuum instance repo. Event payloads are decoded with
:erlang.binary_to_term/1 because Continuum stores its own trusted journal
data as bytea; the Observer is not a boundary for untrusted database writes.
Summary
Functions
Cancels a run through the public Continuum API using the Observer instance.
Decodes a JSON payload from the Observer signal form.
Loads one run for the Observer detail view.
Builds the operational health report shown by the Observer health panel.
Lists decoded journal events for a run ordered by sequence.
Lists runs for the Observer index.
Pretty prints an event payload for display.
Plans or executes a fenced operational repair from the Observer.
Returns the per-run topic used by run detail pages.
Returns the low-fidelity per-instance runs topic used by the Observer index.
Sends a signal through the public Continuum API using the Observer instance.
Subscribes the caller to full-fidelity updates for a single run.
Subscribes the caller to coarse run-index updates for an instance.
Returns the run id that this run continued into via continue_as_new, or nil.
Types
Functions
Cancels a run through the public Continuum API using the Observer instance.
Decodes a JSON payload from the Observer signal form.
Loads one run for the Observer detail view.
Builds the operational health report shown by the Observer health panel.
Lists decoded journal events for a run ordered by sequence.
Lists runs for the Observer index.
Options:
:instance- Continuum instance name or struct. Defaults toContinuum.:state- atom/string run state filter.:workflow- workflow module substring filter.:search- run id or workflow substring filter.:page- 1-based page number.:per_page- page size, capped at 100.
Pretty prints an event payload for display.
Plans or executes a fenced operational repair from the Observer.
Repairs remain dry-run by default; pass execute: true after presenting an
explicit confirmation to the operator.
Returns the per-run topic used by run detail pages.
@spec runs_topic() :: binary()
Returns the low-fidelity per-instance runs topic used by the Observer index.
Sends a signal through the public Continuum API using the Observer instance.
Subscribes the caller to full-fidelity updates for a single run.
Subscribes the caller to coarse run-index updates for an instance.
Returns the run id that this run continued into via continue_as_new, or nil.