Files
mtusi2026lab4/evidence/metrics.json
T
2026-11-04 21:27:54 +03:00

93 lines
2.3 KiB
JSON

{
"pytest": {
"passed": 188,
"elapsed_seconds": 73.96
},
"uploads": {
"concurrency": 10,
"rounds": 3,
"attempts": 30,
"fixture": {
"format": "PNG",
"width": 1500,
"height": 1500,
"size_bytes": 6761054,
"sha256": "49cb1a9ec3e54c1f22c649fb787c50186c54e449ade4a6f6758a50b2e374504d"
},
"statuses": {
"201": 12,
"429": 18
},
"elapsed_seconds": 5.138,
"successful_uploads": 12,
"p95_seconds": 2.143,
"memory": {
"bf64a4a13acb": {
"initial_bytes": 88752128,
"sampled_peak_bytes": 162426880,
"cgroup_peak_before_bytes": 161976320,
"cgroup_peak_after_bytes": 162689024,
"interval_ms": 20
},
"7e4180e529e1": {
"initial_bytes": 89436160,
"sampled_peak_bytes": 163692544,
"cgroup_peak_before_bytes": 157728768,
"cgroup_peak_after_bytes": 163692544,
"interval_ms": 20
}
},
"api_memory_limit": "1610612736",
"notes": "20 ms samples include monitor and decoder processes; cgroup peak is cumulative since container creation; 429 and failed requests counted separately; no upload retries"
},
"public_failover": [
{
"observed_instances_before": 2,
"successful_writes": 112,
"failed_attempts": 4,
"first_recovery_seconds": 1.885
}
],
"rolling_update": [
{
"scenario": "rolling update",
"replacements": 2,
"migration_runs": 1,
"successful_writes": 487,
"failed_attempts": 13,
"errors_by_kind": {
"http_503": 13
},
"elapsed_seconds": 25.341,
"successful_rps": 19.218,
"p95_seconds": 0.048
}
],
"replica_failures": [
{
"instance": "429367307e5f",
"successful_writes": 777,
"failed_attempts": 87,
"errors_by_kind": {
"http_429": 70,
"http_503": 17
},
"elapsed_seconds": 13.965,
"successful_rps": 55.64,
"first_recovery_seconds": 1.865
},
{
"instance": "20b4b219e7c8",
"successful_writes": 774,
"failed_attempts": 96,
"errors_by_kind": {
"http_429": 79,
"http_503": 17
},
"elapsed_seconds": 14.127,
"successful_rps": 54.79,
"first_recovery_seconds": 2.042
}
]
}