Skip to main content

Module history

Expand description

History: queue depth per state per day and the flow through each, and per timeline step with the Needs attention count.

Reads the daily snapshots the ledger-snapshot phase writes. The ledger holds current state only, so a row that passed through a state in an hour leaves no depth trace there — history cannot be reconstructed from it, which is why the snapshots exist.

Structs§

CreditRegistrationHistory
CreditRegistrationHistoryDay
CreditRegistrationHistoryPoint
One state’s depth and flow on one day.
CreditRegistrationHistoryStepPoint
One timeline step’s count on one day.
HistoryQuery

Constants§

DEFAULT_DAYS 🔒
MAX_DAYS 🔒

Functions§

_add_routes
get_credit_registration_pipeline_history
GET /api/v0/main-frontend/credit-registration-admin/pipeline-history - Daily queue depth per ledger state, with what entered and left each state that day, and the count per timeline step and the Needs attention count from the day those snapshots began.