Files
mtusi2026lab6/evidence/failover.json
T

362 lines
13 KiB
JSON

{
"public": {
"service": "api2",
"target_instance": "b002f58059bb4be2a09be80267a9309c",
"before": {
"api1": {
"instance_id": "610440e51a7e44ebbe382d4b2ec220db",
"container_id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca"
},
"api2": {
"instance_id": "b002f58059bb4be2a09be80267a9309c",
"container_id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8"
}
},
"after": {
"api1": {
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:46.90459034Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"api2": {
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:46.975600824Z",
"running": false,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"broker": {
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
"started_at": "2026-11-24T17:28:42.603050416Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_brokerdata"
]
},
"cleanup": {
"id": "a249ffe16ffabf6d6f862ec91693198634c8974d6e6824e6b00dfe9fb416e930",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:52.460084252Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"db": {
"id": "ec1d4c552ad0bb485d3036d09ed03aaf98e0c3601d84de3882ccd466fc74abdf",
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
"started_at": "2026-11-24T17:28:42.762711419Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_pgdata"
]
},
"grafana": {
"id": "2d50ee28687f38147313e35857bd6343ad4d8d3bd4b84f68cf9b9408c187959d",
"image": "sha256:0615ec4fbd4072004b7d86b46ded63013a74b7d6eb1119273dd89e8fa25c13cf",
"started_at": "2026-11-24T17:28:42.95861062Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "472",
"volumes": [
"mtusi-lab6_grafanadata"
]
},
"lb": {
"id": "76fa671127f4d72bf483e8185da638a7bea20aec1ae41ad2e989c387fcb84aa0",
"image": "sha256:1242e4006ac3f1ed15871efadca3d8d089e76f720017a1c51747133ee40cc953",
"started_at": "2026-11-24T17:28:42.561610502Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "haproxy",
"volumes": []
},
"loki": {
"id": "6764a6392534013845b684f69053666058b57fa972f9457d3ee22a19c4178b89",
"image": "sha256:b43c257ccfc925d4a50b8717cac61a3b51df8c48d01847936057e5c4075a24a7",
"started_at": "2026-11-24T17:28:43.043820709Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001",
"volumes": [
"mtusi-lab6_lokidata"
]
},
"otel-collector": {
"id": "5e9fe284226666eab48d216fd2a86c37b81744033227af47ec131c44374e694c",
"image": "sha256:e40d61f10c9a617cca1ffd1be4d7e2b3a4b0f0001798ff07e58cabe82e618cea",
"started_at": "2026-11-24T17:28:42.385426578Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001:10001",
"volumes": []
},
"prometheus": {
"id": "4deefe311d08062441f8371cb645f0401202a4b3513bcf8507c27b3413f3b607",
"image": "sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06",
"started_at": "2026-11-24T17:28:42.451814279Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "nobody",
"volumes": [
"mtusi-lab6_prometheusdata"
]
},
"s3": {
"id": "200b80caf28659a5aae8bbf4d30245f00f0590d418a48aa1a0011242c67b3272",
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
"started_at": "2026-11-24T17:28:42.879319922Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"e678773655c0c8653bb51a4f0ec1693769abbe9cc920890557e3d3e32175f123"
]
},
"s3-storage": {
"id": "2dba1d03b86d13c954b7ee3d8aadf8915a1e05f859c65cfc0e1d601d5f176bc2",
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
"started_at": "2026-11-24T17:28:52.223275918Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_s3data"
]
},
"tempo": {
"id": "0f77b5721467a97e1955f08234bb5a0704ab4c2c42aff3c5696dad183a8c0279",
"image": "sha256:64e2fbd56d9c2b3412a4b430a58ea59e91a670b1e75f920a0c702213ad145044",
"started_at": "2026-11-24T17:28:52.356191257Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001:10001",
"volumes": [
"mtusi-lab6_tempodata"
]
},
"worker": {
"id": "c8429476e968acf9f23958c19650408858f15cb3f847470bd34423daa147e457",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:44.312238244Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
}
},
"stop_seconds": 0.988,
"metrics": {
"observed_instances_before": 2,
"successful_writes": 102,
"failed_attempts": 4,
"first_recovery_seconds": 3.025
}
},
"second_replica": {
"service": "api1",
"target_instance": "610440e51a7e44ebbe382d4b2ec220db",
"before": {
"api1": {
"instance_id": "610440e51a7e44ebbe382d4b2ec220db",
"container_id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca"
},
"api2": {
"instance_id": "736da548ff84468a98ab686f17aba408",
"container_id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8"
}
},
"after": {
"api1": {
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:46.90459034Z",
"running": false,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"api2": {
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:29:32.125437383Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"broker": {
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
"started_at": "2026-11-24T17:28:42.603050416Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_brokerdata"
]
},
"cleanup": {
"id": "a249ffe16ffabf6d6f862ec91693198634c8974d6e6824e6b00dfe9fb416e930",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:52.460084252Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
},
"db": {
"id": "ec1d4c552ad0bb485d3036d09ed03aaf98e0c3601d84de3882ccd466fc74abdf",
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
"started_at": "2026-11-24T17:28:42.762711419Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_pgdata"
]
},
"grafana": {
"id": "2d50ee28687f38147313e35857bd6343ad4d8d3bd4b84f68cf9b9408c187959d",
"image": "sha256:0615ec4fbd4072004b7d86b46ded63013a74b7d6eb1119273dd89e8fa25c13cf",
"started_at": "2026-11-24T17:28:42.95861062Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "472",
"volumes": [
"mtusi-lab6_grafanadata"
]
},
"lb": {
"id": "76fa671127f4d72bf483e8185da638a7bea20aec1ae41ad2e989c387fcb84aa0",
"image": "sha256:1242e4006ac3f1ed15871efadca3d8d089e76f720017a1c51747133ee40cc953",
"started_at": "2026-11-24T17:28:42.561610502Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "haproxy",
"volumes": []
},
"loki": {
"id": "6764a6392534013845b684f69053666058b57fa972f9457d3ee22a19c4178b89",
"image": "sha256:b43c257ccfc925d4a50b8717cac61a3b51df8c48d01847936057e5c4075a24a7",
"started_at": "2026-11-24T17:28:43.043820709Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001",
"volumes": [
"mtusi-lab6_lokidata"
]
},
"otel-collector": {
"id": "5e9fe284226666eab48d216fd2a86c37b81744033227af47ec131c44374e694c",
"image": "sha256:e40d61f10c9a617cca1ffd1be4d7e2b3a4b0f0001798ff07e58cabe82e618cea",
"started_at": "2026-11-24T17:28:42.385426578Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001:10001",
"volumes": []
},
"prometheus": {
"id": "4deefe311d08062441f8371cb645f0401202a4b3513bcf8507c27b3413f3b607",
"image": "sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06",
"started_at": "2026-11-24T17:28:42.451814279Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "nobody",
"volumes": [
"mtusi-lab6_prometheusdata"
]
},
"s3": {
"id": "200b80caf28659a5aae8bbf4d30245f00f0590d418a48aa1a0011242c67b3272",
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
"started_at": "2026-11-24T17:28:42.879319922Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"e678773655c0c8653bb51a4f0ec1693769abbe9cc920890557e3d3e32175f123"
]
},
"s3-storage": {
"id": "2dba1d03b86d13c954b7ee3d8aadf8915a1e05f859c65cfc0e1d601d5f176bc2",
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
"started_at": "2026-11-24T17:28:52.223275918Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "",
"volumes": [
"mtusi-lab6_s3data"
]
},
"tempo": {
"id": "0f77b5721467a97e1955f08234bb5a0704ab4c2c42aff3c5696dad183a8c0279",
"image": "sha256:64e2fbd56d9c2b3412a4b430a58ea59e91a670b1e75f920a0c702213ad145044",
"started_at": "2026-11-24T17:28:52.356191257Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "10001:10001",
"volumes": [
"mtusi-lab6_tempodata"
]
},
"worker": {
"id": "c8429476e968acf9f23958c19650408858f15cb3f847470bd34423daa147e457",
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
"started_at": "2026-11-24T17:28:44.312238244Z",
"running": true,
"oom_killed": false,
"restart_count": 0,
"user": "messenger",
"volumes": []
}
},
"stop_seconds": 1.124,
"metrics": {
"successful_writes": 101,
"failed_attempts": 4,
"first_recovery_seconds": 3.072,
"replay_on_survivor": "PASS"
}
},
"status": "PASS"
}