forked from mtusi2026/mtusi2026lab6
559 lines
12 KiB
JSON
559 lines
12 KiB
JSON
{
|
|
"scenario": "db-down",
|
|
"marks_s": {
|
|
"postgres paused": 16.0,
|
|
"ApiHighErrorRate firing": 98.0,
|
|
"postgres unpaused": 98.0,
|
|
"resolved": 169.8
|
|
},
|
|
"alerts_first_firing_s": {
|
|
"DbPoolSaturated": 62.2,
|
|
"ApiHighErrorRate": 98.0,
|
|
"ApiLatencyHigh": 128.9
|
|
},
|
|
"alerts_resolved_s": {
|
|
"DbPoolSaturated": 108.5,
|
|
"ApiHighErrorRate": 169.8,
|
|
"ApiLatencyHigh": 169.8
|
|
},
|
|
"http_during": {
|
|
"requests": 136,
|
|
"ok": 0,
|
|
"errors": 136,
|
|
"error_statuses": [
|
|
-1,
|
|
503
|
|
],
|
|
"p50_ms": null,
|
|
"p95_ms": null,
|
|
"p99_ms": null
|
|
},
|
|
"error_traces_error_type": {
|
|
"PoolTimeout": 20
|
|
},
|
|
"dependency_unavailable_logs": 136,
|
|
"logged_errors": [
|
|
"PoolTimeout",
|
|
"TimeoutError"
|
|
],
|
|
"detection_s": 82.0,
|
|
"timeline": [
|
|
{
|
|
"t": 1.0,
|
|
"alerts": {},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": null,
|
|
"db_p95_s": 0.0022,
|
|
"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.2734
|
|
},
|
|
{
|
|
"t": 16.3,
|
|
"alerts": {},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0236,
|
|
"db_p95_s": 0.0036,
|
|
"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.3008
|
|
},
|
|
{
|
|
"t": 21.4,
|
|
"alerts": {},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0534,
|
|
"db_p95_s": 0.0036,
|
|
"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.3008
|
|
},
|
|
{
|
|
"t": 26.5,
|
|
"alerts": {},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0534,
|
|
"db_p95_s": 0.0038,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 13.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3008
|
|
},
|
|
{
|
|
"t": 31.6,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0039,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 13.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3008
|
|
},
|
|
{
|
|
"t": 36.7,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0041,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 40.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3008
|
|
},
|
|
{
|
|
"t": 41.8,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0042,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 40.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3203
|
|
},
|
|
{
|
|
"t": 46.9,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0043,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 81.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3203
|
|
},
|
|
{
|
|
"t": 52.0,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0044,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 81.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3281
|
|
},
|
|
{
|
|
"t": 57.1,
|
|
"alerts": {
|
|
"DbPoolSaturated": "pending"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0459,
|
|
"db_p95_s": 0.0045,
|
|
"queue_lag_s": 0.0,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 123.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3281
|
|
},
|
|
{
|
|
"t": 62.2,
|
|
"alerts": {
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 0.2997,
|
|
"api_p95_s": 2.2498,
|
|
"db_p95_s": 0.0044,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 123.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3359
|
|
},
|
|
{
|
|
"t": 67.3,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 0.2997,
|
|
"api_p95_s": 2.2498,
|
|
"db_p95_s": 0.0046,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 165.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3359
|
|
},
|
|
{
|
|
"t": 72.4,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 0.6868,
|
|
"api_p95_s": 2.3908,
|
|
"db_p95_s": 5.0,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 197.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3438
|
|
},
|
|
{
|
|
"t": 77.5,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbSlowQueries": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 0.6868,
|
|
"api_p95_s": 2.3908,
|
|
"db_p95_s": 5.0,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 205.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.3438
|
|
},
|
|
{
|
|
"t": 82.7,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbSlowQueries": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": 5.0,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 240.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4102
|
|
},
|
|
{
|
|
"t": 87.8,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": null,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 247.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4102
|
|
},
|
|
{
|
|
"t": 92.9,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "pending",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": null,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 285.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4141
|
|
},
|
|
{
|
|
"t": 98.0,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": null,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 294.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4141
|
|
},
|
|
{
|
|
"t": 98.3,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": null,
|
|
"queue_lag_s": null,
|
|
"queue_ready": null,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 294.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4805
|
|
},
|
|
{
|
|
"t": 103.4,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending",
|
|
"DbPoolSaturated": "firing"
|
|
},
|
|
"error_ratio": 1.0,
|
|
"api_p95_s": 2.425,
|
|
"db_p95_s": 5.0,
|
|
"queue_lag_s": null,
|
|
"queue_ready": 0.0,
|
|
"workers_capacity": 4.0,
|
|
"db_pool_waiting_api": 60.0,
|
|
"collector_queue": 0.0,
|
|
"collector_rss_mib": 181.4805
|
|
},
|
|
{
|
|
"t": 108.5,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending"
|
|
},
|
|
"error_ratio": 0.7833,
|
|
"api_p95_s": 2.4348,
|
|
"db_p95_s": 0.0444,
|
|
"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.4883
|
|
},
|
|
{
|
|
"t": 113.6,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending"
|
|
},
|
|
"error_ratio": 0.7833,
|
|
"api_p95_s": 2.4348,
|
|
"db_p95_s": 0.0057,
|
|
"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.4883
|
|
},
|
|
{
|
|
"t": 118.7,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending"
|
|
},
|
|
"error_ratio": 0.4654,
|
|
"api_p95_s": 2.376,
|
|
"db_p95_s": 0.005,
|
|
"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.5039
|
|
},
|
|
{
|
|
"t": 123.8,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "pending"
|
|
},
|
|
"error_ratio": 0.4654,
|
|
"api_p95_s": 2.376,
|
|
"db_p95_s": 0.0048,
|
|
"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.5039
|
|
},
|
|
{
|
|
"t": 128.9,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.2822,
|
|
"api_p95_s": 2.2791,
|
|
"db_p95_s": 0.0048,
|
|
"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.5078
|
|
},
|
|
{
|
|
"t": 134.0,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.2822,
|
|
"api_p95_s": 2.2791,
|
|
"db_p95_s": 0.0046,
|
|
"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.5078
|
|
},
|
|
{
|
|
"t": 139.1,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.1529,
|
|
"api_p95_s": 2.0672,
|
|
"db_p95_s": 0.0045,
|
|
"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.5117
|
|
},
|
|
{
|
|
"t": 144.2,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.1529,
|
|
"api_p95_s": 2.0672,
|
|
"db_p95_s": 0.0042,
|
|
"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.5117
|
|
},
|
|
{
|
|
"t": 149.3,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.0636,
|
|
"api_p95_s": 1.361,
|
|
"db_p95_s": 0.0042,
|
|
"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.5781
|
|
},
|
|
{
|
|
"t": 154.5,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.0636,
|
|
"api_p95_s": 1.361,
|
|
"db_p95_s": 0.0037,
|
|
"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.5781
|
|
},
|
|
{
|
|
"t": 159.6,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0376,
|
|
"db_p95_s": 0.0036,
|
|
"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.582
|
|
},
|
|
{
|
|
"t": 164.7,
|
|
"alerts": {
|
|
"ApiHighErrorRate": "firing",
|
|
"ApiLatencyHigh": "firing"
|
|
},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.0376,
|
|
"db_p95_s": 0.0034,
|
|
"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.582
|
|
},
|
|
{
|
|
"t": 169.8,
|
|
"alerts": {},
|
|
"error_ratio": 0.0,
|
|
"api_p95_s": 0.025,
|
|
"db_p95_s": 0.0034,
|
|
"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.5898
|
|
}
|
|
]
|
|
} |