Expand description
The Overview tab, the Suotar health panel and phase pause/resume/run-now controls.
StructsΒ§
- Admin
Pause Phase Payload - Admin
Phase Action Payload - Credit
Registration Error Code Total - Credit
Registration Oldest NonTerminal - Credit
Registration Overview - Credit
Registration Phase Status - One pipeline phaseβs heartbeat, written by the worker loops and by unscoped runs only, never by a
narrowed one. Returned by the pause/resume/run-now actions; the Workers tab lists
CreditRegistrationPhaseRowinstead, which is wider. - Credit
Registration State Total - Credit
Registration Stuck Total - Credit
Registration Throughput Bucket - Suotar
Endpoint Standing - Where one study registry endpoint stands, over all time.
- Suotar
Endpoint Window Stats - Suotar
Health - Suotar
Health Window
ConstantsΒ§
- ENDPOINT_
STATS_ πWINDOWS_ SECS - THROUGHPUT_
DAYS π
FunctionsΒ§
- _add_
routes - admin_
pause_ phase - POST
/api/v0/main-frontend/credit-registration-admin/phases/{phase}/pause- Pauses one phase: the worker loop skips it on every tick until it is resumed. - admin_
resume_ phase - POST
/api/v0/main-frontend/credit-registration-admin/phases/{phase}/resume- Resumes one paused phase. - admin_
run_ phase_ now - POST
/api/v0/main-frontend/credit-registration-admin/phases/{phase}/run-now- Makes one phase due immediately: the worker loop picks it up on its next tick instead of waiting outnext_run_at. - get_
credit_ registration_ overview - GET
/api/v0/main-frontend/credit-registration-admin/overview- Everything the Overview tab and the alert banner render, in one request so the tiles cannot contradict each other. - get_
suotar_ health - GET
/api/v0/main-frontend/credit-registration-admin/suotar-health- Per-endpoint call counts, success rates and latency percentiles over an hour, a day and a week. - one_
phase_ πstatus - One phaseβs status, so a pause/resume/run-now response shows the effect without a second request.
- record_
phase_ πaction - Records one admin action on a phase in the callerβs transaction.
- require_
known_ πphase - Resolves a path segment to the spelling
credit_registration_phase_statestores, refusing anything that is not a canonical phase name. - to_
endpoint_ πstanding - to_
endpoint_ πwindow_ stats_ for_ window - to_
error_ πcode_ total - to_
oldest_ πnon_ terminal - to_
phase_ πstatus - to_
stuck_ πtotal