forked from mtusi2026/mtusi2026lab3
Co-authored-by: Югай Артур Рустамович <f1ekserr@yandex.ru>
118 lines
4.0 KiB
JSON
118 lines
4.0 KiB
JSON
{
|
|
"public": {
|
|
"service": "api2",
|
|
"target_instance": "610aec79ba3b43ae8f846930b60d9293",
|
|
"before": {
|
|
"api1": {
|
|
"instance_id": "5047bb490b0a4fc5b07d22d0768a0e99",
|
|
"container_id": "507f14400f4fd4591391920e26ffb793859af0c423a7d9e858f1bf66a8b7b2f1"
|
|
},
|
|
"api2": {
|
|
"instance_id": "610aec79ba3b43ae8f846930b60d9293",
|
|
"container_id": "661c0fb5e5d3ba0553bdc4af3aa653877e7f9d002acba05cb1d758cf27b2cef7"
|
|
}
|
|
},
|
|
"after": {
|
|
"api1": {
|
|
"id": "507f14400f4fd4591391920e26ffb793859af0c423a7d9e858f1bf66a8b7b2f1",
|
|
"image": "sha256:c81e768c9996b7b4938b93c9a39dea208053025b1d8fb429dea6d534aab1c69e",
|
|
"started_at": "2026-11-16T19:18:58.414235595Z",
|
|
"running": true,
|
|
"user": "messenger",
|
|
"volumes": []
|
|
},
|
|
"api2": {
|
|
"id": "661c0fb5e5d3ba0553bdc4af3aa653877e7f9d002acba05cb1d758cf27b2cef7",
|
|
"image": "sha256:c81e768c9996b7b4938b93c9a39dea208053025b1d8fb429dea6d534aab1c69e",
|
|
"started_at": "2026-11-16T19:18:58.362001356Z",
|
|
"running": false,
|
|
"user": "messenger",
|
|
"volumes": []
|
|
},
|
|
"db": {
|
|
"id": "27554c7dfdfe16221938def671c50cb7fe3a2950bf6d2786829564728097a2b4",
|
|
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
|
|
"started_at": "2026-11-16T19:18:58.195689773Z",
|
|
"running": true,
|
|
"user": "",
|
|
"volumes": [
|
|
"kuznetsov-lab3_pgdata"
|
|
]
|
|
},
|
|
"lb": {
|
|
"id": "68b269bee797b8fb4b855a25969793a9d1160f7959fefcc8982abbe0e642d9ef",
|
|
"image": "sha256:1242e4006ac3f1ed15871efadca3d8d089e76f720017a1c51747133ee40cc953",
|
|
"started_at": "2026-11-16T19:18:58.120987029Z",
|
|
"running": true,
|
|
"user": "haproxy",
|
|
"volumes": []
|
|
}
|
|
},
|
|
"stop_seconds": 2.111,
|
|
"metrics": {
|
|
"observed_instances_before": 2,
|
|
"successful_writes": 115,
|
|
"failed_attempts": 3,
|
|
"first_recovery_seconds": 4.508
|
|
}
|
|
},
|
|
"second_replica": {
|
|
"service": "api1",
|
|
"target_instance": "5047bb490b0a4fc5b07d22d0768a0e99",
|
|
"before": {
|
|
"api1": {
|
|
"instance_id": "5047bb490b0a4fc5b07d22d0768a0e99",
|
|
"container_id": "507f14400f4fd4591391920e26ffb793859af0c423a7d9e858f1bf66a8b7b2f1"
|
|
},
|
|
"api2": {
|
|
"instance_id": "4f0e086687c94a0a80d9111a9c83f04e",
|
|
"container_id": "661c0fb5e5d3ba0553bdc4af3aa653877e7f9d002acba05cb1d758cf27b2cef7"
|
|
}
|
|
},
|
|
"after": {
|
|
"api1": {
|
|
"id": "507f14400f4fd4591391920e26ffb793859af0c423a7d9e858f1bf66a8b7b2f1",
|
|
"image": "sha256:c81e768c9996b7b4938b93c9a39dea208053025b1d8fb429dea6d534aab1c69e",
|
|
"started_at": "2026-11-16T19:18:58.414235595Z",
|
|
"running": false,
|
|
"user": "messenger",
|
|
"volumes": []
|
|
},
|
|
"api2": {
|
|
"id": "661c0fb5e5d3ba0553bdc4af3aa653877e7f9d002acba05cb1d758cf27b2cef7",
|
|
"image": "sha256:c81e768c9996b7b4938b93c9a39dea208053025b1d8fb429dea6d534aab1c69e",
|
|
"started_at": "2026-11-16T19:19:22.964997834Z",
|
|
"running": true,
|
|
"user": "messenger",
|
|
"volumes": []
|
|
},
|
|
"db": {
|
|
"id": "27554c7dfdfe16221938def671c50cb7fe3a2950bf6d2786829564728097a2b4",
|
|
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
|
|
"started_at": "2026-11-16T19:18:58.195689773Z",
|
|
"running": true,
|
|
"user": "",
|
|
"volumes": [
|
|
"kuznetsov-lab3_pgdata"
|
|
]
|
|
},
|
|
"lb": {
|
|
"id": "68b269bee797b8fb4b855a25969793a9d1160f7959fefcc8982abbe0e642d9ef",
|
|
"image": "sha256:1242e4006ac3f1ed15871efadca3d8d089e76f720017a1c51747133ee40cc953",
|
|
"started_at": "2026-11-16T19:18:58.120987029Z",
|
|
"running": true,
|
|
"user": "haproxy",
|
|
"volumes": []
|
|
}
|
|
},
|
|
"stop_seconds": 2.198,
|
|
"metrics": {
|
|
"successful_writes": 105,
|
|
"failed_attempts": 4,
|
|
"first_recovery_seconds": 4.903,
|
|
"replay_on_survivor": "PASS"
|
|
}
|
|
},
|
|
"status": "PASS"
|
|
}
|