Expand description
The dashboard’s and the health alerts’ counts over the whole ledger.
Structs§
- Credit
Registration Error Code Count - Live rows carrying an error code, split by whether the pipeline is still working on them.
- Credit
Registration Throughput Day - One day of terminal outcomes, for the throughput series.
- Module
Registration Totals - Live volumes per course module, for the Courses tab’s one row per module.
- Oldest
NonTerminal Registration - The row that has been waiting longest for the pipeline to do something with it.
- Registration
Latency - How long registration took, in seconds, for rows that reached
registeredin a window. - Stuck
Registration Count - Stuck
Thresholds - How long a row may sit in one state before it counts as stuck. Seconds, per state.
- Terminal
Outcome Totals - What the pipeline finished in a window.
Functions§
- count_
by_ error_ code - The error-code breakdown the Overview shows.
- count_
by_ module failed_countisfailed_permanentandmisregisteredonly, so the columns do not add up to the total by design.- count_
by_ state - Live rows per state, for the dashboard funnel. Superseded attempts are excluded, as in the per-course sibling, or a course that regrades counts every student twice.
- count_
due_ enrolment_ checks - Live rows parked in
no_usable_enrolmentthat an unscoped resolve-enrolments claim would take for an enrolment check now; the rest wait for their schedule, their module, or a lookup already out. Leaves out the claim’s one-row-per-student-and-module hold, which only defers a row. - count_
entered_ state_ since - Live rows that entered one state within the window.
misregisteredis not terminal, soterminal_atcannot answer this. - count_
pending_ by_ reason - Live
pendingrows per blocker. Derived fromcredit_registration_preconditions, so it cannot disagree with what the recompute is waiting for or with what the student is shown. - count_
stuck - Rows the pipeline should have moved by now, per state. Only the four states with a threshold count: the rest wait on a student or a human, where an alert would fire on normal operation.
- count_
terminal_ outcomes_ since - get_
oldest_ non_ terminal - get_
registration_ latency_ between - get_
throughput_ by_ day - Daily terminal outcomes over the window. Withdrawn rows are in no column: they are neither a success nor a failure.