forked from mtusi2026/mtusi2026lab6
84 lines
2.0 KiB
Plaintext
84 lines
2.0 KiB
Plaintext
# 2026-11-21T19:02:34Z commit=n/a host=Linux 6.18.44-fc-v726 x86_64 cpus=2
|
|
$ python3 research/incidents.py db-slow --out evidence/incidents
|
|
[22:03:05] db-slow: postgres limited to 0.03 CPU (t=31.1s)
|
|
[22:04:02] FIRING DbSlowQueries at t=87.6s
|
|
[22:04:02] db-slow: DbSlowQueries firing (t=87.6s)
|
|
[22:04:33] FIRING ApiLatencyHigh at t=118.5s
|
|
[22:04:34] db-slow: postgres restored to 1.0 CPU (t=119.2s)
|
|
[22:05:30] resolved DbSlowQueries at t=175.5s
|
|
[22:05:40] resolved ApiLatencyHigh at t=185.7s
|
|
[22:05:40] db-slow: resolved (t=185.7s)
|
|
{
|
|
"scenario": "db-slow",
|
|
"marks_s": {
|
|
"postgres limited to 0.03 CPU": 31.1,
|
|
"DbSlowQueries firing": 87.6,
|
|
"postgres restored to 1.0 CPU": 119.2,
|
|
"resolved": 185.7
|
|
},
|
|
"alerts_first_firing_s": {
|
|
"DbSlowQueries": 87.6,
|
|
"ApiLatencyHigh": 118.5
|
|
},
|
|
"alerts_resolved_s": {
|
|
"DbSlowQueries": 175.5,
|
|
"ApiLatencyHigh": 185.7
|
|
},
|
|
"metrics_before": {
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0425,
|
|
"db_p95_s": 0.0035,
|
|
"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": 175.6914
|
|
},
|
|
"metrics_during": {
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.717,
|
|
"db_p95_s": 0.222,
|
|
"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": 176.6094
|
|
},
|
|
"slow_trace": {
|
|
"trace_id": "0a0efea457d22fb0b498b9fe612a9696",
|
|
"duration_ms": 702.1,
|
|
"db_ms": 694.4,
|
|
"pool_wait_ms": 192.0,
|
|
"db_share": 0.99,
|
|
"db_or_pool_share": 1.26,
|
|
"not_in_child_spans_ms": 7.1,
|
|
"error_type": null,
|
|
"slowest_child": [
|
|
"INSERT messages",
|
|
300.8
|
|
]
|
|
},
|
|
"http_before": {
|
|
"requests": 180,
|
|
"ok": 180,
|
|
"errors": 0,
|
|
"error_statuses": [],
|
|
"p50_ms": 11.8,
|
|
"p95_ms": 37.6,
|
|
"p99_ms": 80.0
|
|
},
|
|
"http_during": {
|
|
"requests": 516,
|
|
"ok": 516,
|
|
"errors": 0,
|
|
"error_statuses": [],
|
|
"p50_ms": 132.6,
|
|
"p95_ms": 698.8,
|
|
"p99_ms": 964.9
|
|
},
|
|
"detection_s": 56.5
|
|
}
|
|
exit=0
|