37/41
Part 6 of 7 · Overload and monitoringLearn

What to graph, and when to page

Put these on the dashboard, each with a rule for when it pages someone.

MetricWhat it isPage when
Oldest queued request ageper model and per tenantit passes a few hours
Projected finishnow plus remaining work over forecast drain rate, against expires_atit crosses 80% of the window for any batch
Outcomes by typesucceeded, errored by error class, canceled, expiredany rise in expired, or errored above baseline
Goodputtokens from in-window successes over all tokens processedit falls, meaning work is being wasted
Lease expirations, retries, crashesper model and per worker poola step change, usually a deploy or a poison request
Dead-letter queuequarantined requestsanything at all
Interactive p99what batch must never hurtit moves when batch load moves

The first two rows are the early warnings.