# 2026-11-21T19:05:40Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
$ python3 research/incidents.py handler-slow --out evidence/incidents
[22:05:41] handler-slow: 50% of messages carry fault-api-slow-400 (sleep in handler) (t=0.6s)
[22:07:08]   FIRING ApiLatencyHigh at t=87.8s
[22:07:08] handler-slow: ApiLatencyHigh firing (t=87.8s)
[22:08:20]   resolved ApiLatencyHigh at t=160.2s
[22:08:20] handler-slow: resolved (t=160.2s)
{
 "scenario": "handler-slow",
 "marks_s": {
  "50% of messages carry fault-api-slow-400 (sleep in handler)": 0.6,
  "ApiLatencyHigh firing": 87.8,
  "resolved": 160.2
 },
 "alerts_first_firing_s": {
  "ApiLatencyHigh": 87.8
 },
 "alerts_resolved_s": {
  "ApiLatencyHigh": 160.2
 },
 "metrics_during": {
  "error_ratio": 0.0,
  "api_p95_s": 0.475,
  "db_p95_s": 0.0026,
  "queue_lag_s": 0.0,
  "queue_ready": 0.0,
  "workers_capacity": 4.0,
  "db_pool_waiting_api": 0.0,
  "collector_queue": 0.0,
  "collector_rss_mib": 181.0938
 },
 "db_alert_fired": false,
 "slow_trace": {
  "trace_id": "2aa39fd46f97f6a25232626dcb3aa263",
  "duration_ms": 421.9,
  "db_ms": 12.2,
  "pool_wait_ms": 3.8,
  "db_share": 0.03,
  "db_or_pool_share": 0.04,
  "not_in_child_spans_ms": 409.2,
  "error_type": null,
  "slowest_child": [
   "INSERT messages",
   6.6
  ]
 },
 "http_during": {
  "requests": 526,
  "ok": 526,
  "errors": 0,
  "error_statuses": [],
  "p50_ms": 66.4,
  "p95_ms": 421.4,
  "p99_ms": 440.7
 },
 "detection_s": 87.8
}
exit=0
