Monitor Server-Side Errors 00:00:01 Turn an exception into an incident signal The payment endpoint returns a successful HTTP status for every call, but the shop has stopped collecting money. A status-code dashboard alone would declare the system healthy. What did the monitoring contract leave out? DatabaseError: connection timeout after 30,000 ms, in payment.ts, line 45. The middleware catches what nobody caught and counts it. Trace id, route, release, internal user id and stack. 5,234 events have the same fingerprint. Is the share above the limit? Is it a new kind of error? The owner gets a message with a link to the issue. Capture structured context and a suitable stack fingerprint while removing sensitive request data. A single exception can help locate a defect, while the event rate and affected customer population determine its urgency. 00:00:55 Group by stable evidence Three are the same timeout with other numbers. The full message differs each time. Type and own frame: the first event opens issue A. The second event has the same frame. The refused card is another fault. The last event joins A. Dynamic identifiers and line numbers may vary across requests or releases. Choose a fingerprint that groups one mechanism without mixing distinct failures merely because both say timeout. 00:01:25 Price errors against the objective 99.9% in 30 days allows 43.2 bad minutes. Begin a thirty-day illustrative time-based objective at ninety-nine point nine percent, with 43.2 minutes of equivalent unavailability to spend. 14 minutes used, 68% left. A bad release costs 20 minutes: 34 used, 21% left. Ten additional minutes brings the total to forty-four, slightly beyond the forty-three point two minutes allowed. Define the denominator and the interval before spending an error budget. Time-based downtime and the fraction of failed requests can diverge sharply during a peak traffic period. 00:02:08 Keep count while sampling detail One bug, thousands of events a minute. Keep the first 100, then every 10th, at most 1,090 details a minute. A new fault gets full detail. 900 more events, 90 details. 9,000 more events, 900 details. The limit of 1,090 a minute is reached. No more details in this minute. Counting goes on. During a storm, sampling detailed reports can protect the collector and budget. Keep independent aggregate counts so the engineering team can see the actual scale even after detailed storage has reached its cap. 00:02:46 Distinguish failure categories The input is wrong. Expected. The caller is too fast. A bug of ours. A server behind us closed or answered nonsense. No capacity. A Retry-After header tells clients when to come back. A server behind us was too slow. An invalid input, an expected card decline and a broken dependency should have distinct operational meanings. Correctly returning a refusal can be a successful service outcome even when the customer's requested purchase is declined. 00:03:17 A business failure hides inside success The bank answers 200, with a refusal inside. The shop counts status codes: 0% errors. Paid orders fell from 60 to 2 a minute. The shop reads the answer, raises its own error type and counts it. Read the provider's application-level outcome and record a meaningful payment metric. Then compare it with actual durable orders and settlement evidence rather than trusting either one HTTP status or one internal counter in isolation. Track user-visible business outcomes alongside transport errors, group repeated symptoms without losing counts, and retain a small amount of evidence detailed enough to identify the cause.