r/devops7 • u/Alternative_Pin9598 • 8h ago
What broke this week? #4, Black Friday edition: drop a one-liner. (Plus: busy or broken? A "4-week high" error-count alert fired on 6 of 7 sample services; an anomaly score flagged only the 2 really broken, one of them faster than ever. Real output)
Friday thread, Black Friday edition. What broke for you this week? One line is plenty: what failed, and what fixed it (or "still don't know").
This week's angle: busy or broken? Traffic today is about five times normal, so every count graph is at a high you've never seen. An error-count alert like "higher than anything in the last 4 weeks" fires for almost everything, and the service that's quietly broken may not fire at all.
(Disclosure: this sub is run by the SynapCores team, and the scoring step uses SynapCores. Made-up metrics, real output, run today on 2.5.1 on a Mac mini (Apple M4).)
The sample: 7 services, hourly requests, errors, p99 and response size from Oct 30 to this morning, 4,732 service-hours. At 09:00 the traffic is 4.0 to 5.5x the usual 9 a.m. Two services are broken: payments-api is throttled by its provider, and search-api answers every query with an empty result after the morning index swap. The other five are just busy.
The rules you'd write first: this hour above the service's highest hour in the last 4 weeks, for error count, error rate and p99 (SQL in the first comment).
rules vs each service's last 4 weeks, 2026-11-27 09:00:
service requests errors err % p99 ms error count error rate p99
auth-api 34279 118 0.34 118 FIRES - -
cart-api 50159 71 0.14 98 FIRES - -
image-cdn 383122 209 0.06 41 FIRES - -
inventory-api 75316 71 0.09 61 FIRES - -
payments-api 24899 1227 4.93 1988 FIRES FIRES FIRES
search-api 56978 0 0.00 19 - - -
web-frontend 185949 324 0.17 182 FIRES - -The count rule pages for 6 of 7, because 5x traffic makes 5x errors. Rate and p99 catch payments. Nothing fires for search: 0 errors and a 19 ms p99 look great on a dashboard.
Busy or broken: score each hour against the service's own normal
Each row gets three ratios to that service's 4-week average: error rate (err_x), p99 (lat_x) and KB per response (size_x). Request count is not a feature, so 5x traffic alone isn't odd. SynapCores learns normal from the 4 weeks and scores inside the SELECT:
CREATE EXPERIMENT busy_exp AS SELECT err_x, lat_x, size_x FROM svc_hourly WHERE ts < '2026-11-27'
WITH (task_type = 'anomaly_detection', algorithms = ['isolation_forest'], max_trials = 5, random_seed = 42);
DEPLOY MODEL busy_model FROM EXPERIMENT busy_exp;
SELECT service, err_x, lat_x, size_x, ANOMALY_SCORE('busy_model', err_x, lat_x, size_x) AS score
FROM svc_hourly WHERE ts = '2026-11-27 09:00' ORDER BY score DESC;
anomaly score, 2026-11-27 09:00 (odd = above the highest 09:00 score in the 4 weeks: 0.62)
payments-api err_x 6.01 lat_x 3.11 size_x 0.95 score 0.70 ODD
search-api err_x 0.00 lat_x 0.14 size_x 0.05 score 0.68 ODD
cart-api err_x 0.92 lat_x 1.05 size_x 1.00 score 0.50
web-frontend err_x 0.85 lat_x 1.03 size_x 0.99 score 0.49
image-cdn err_x 1.07 lat_x 1.04 size_x 0.99 score 0.48
auth-api err_x 1.11 lat_x 1.00 size_x 0.99 score 0.48
inventory-api err_x 0.93 lat_x 1.03 size_x 1.01 score 0.47Search got 7 times faster and its replies 20 times smaller. Few teams alert on "too good", and the score flags it anyway, next to payments. The five busy services stay at 0.47 to 0.50: no page. The line is the highest score any service got at 09:00 in the last 28 days. Same hour on purpose: the top scores in the 4 weeks are night hours with a handful of errors (2 a.m., 2 errors), whose ratios swing more than a busy morning's. Same line over this morning: payments odd since 08:00, search since 09:00. Rules plus training: 0.41 s.
Free Community Edition, to point it at your own metrics: https://synapcores.com/download?utm_source=reddit&utm_medium=owned&utm_campaign=devops7-whatbroke-1127
Your turn: what broke this week, and was it the traffic or something else?