Добавил наблюдаемость
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"cases": [
|
||||
{
|
||||
"stopped_service": "api1",
|
||||
"upload_instance": "3473feadfaba47619ec491d20971c6bf",
|
||||
"download_instance": "736da548ff84468a98ab686f17aba408",
|
||||
"recovery_seconds": 3.534,
|
||||
"transitional_errors": 1,
|
||||
"same_original": true,
|
||||
"message_preserved": true
|
||||
},
|
||||
{
|
||||
"stopped_service": "api2",
|
||||
"upload_instance": "736da548ff84468a98ab686f17aba408",
|
||||
"download_instance": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"recovery_seconds": 4.719,
|
||||
"transitional_errors": 2,
|
||||
"same_original": true,
|
||||
"message_preserved": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ttl_seconds": 2,
|
||||
"expiry_unchanged_on_restart": true,
|
||||
"before_restart": 200,
|
||||
"after_expiry_and_restart": 401,
|
||||
"new_login": 201
|
||||
}
|
||||
@@ -0,0 +1,361 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,502 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"started_at": 1795541521.721644,
|
||||
"worker": {
|
||||
"started_at": 1795541552.7885811,
|
||||
"queued_jobs": [
|
||||
"25bd2434-92ea-4bf3-825f-2dafefc6d118",
|
||||
"24c2a182-70ad-4e20-bc43-47805476fce6",
|
||||
"d13e4b4b-3f62-43cb-89ab-55af052007c4"
|
||||
],
|
||||
"accepted_logs": [
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"event": "job.accepted",
|
||||
"flags": "3",
|
||||
"job_id": "24c2a182-70ad-4e20-bc43-47805476fce6",
|
||||
"observed_timestamp": "1795541553259932465",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "3085ae1efb7a7e09",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "bd0cc1b31b357fb5a2e07edc968debcb",
|
||||
"timestamp_ns": "1795541553259803648",
|
||||
"body": "job.accepted"
|
||||
},
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"event": "job.accepted",
|
||||
"flags": "3",
|
||||
"job_id": "25bd2434-92ea-4bf3-825f-2dafefc6d118",
|
||||
"observed_timestamp": "1795541552829859621",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "8bf6a4c343e88059",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "9fd637687081d4c59e40a1c12888815a",
|
||||
"timestamp_ns": "1795541552829687040",
|
||||
"body": "job.accepted"
|
||||
},
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"event": "job.accepted",
|
||||
"flags": "3",
|
||||
"job_id": "d13e4b4b-3f62-43cb-89ab-55af052007c4",
|
||||
"observed_timestamp": "1795541553671824667",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "044f3d0f3d0ca5d8",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "3270bf356122f469cf25e8e1fa2d2ea3",
|
||||
"timestamp_ns": "1795541553671696640",
|
||||
"body": "job.accepted"
|
||||
}
|
||||
],
|
||||
"recovered_jobs": [
|
||||
{
|
||||
"trace_id": "39acb62dd3081441d5e744ce8a9a235e",
|
||||
"span_id": "a139641ece4a7be1",
|
||||
"event": "job.completed",
|
||||
"kind": "CONSUMER",
|
||||
"span_name": "attachment.process",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 1.005678662,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messaging.system",
|
||||
"value": {
|
||||
"stringValue": "rabbitmq"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messaging.operation.type",
|
||||
"value": {
|
||||
"stringValue": "process"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.type",
|
||||
"value": {
|
||||
"stringValue": "attachment.process.v1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.id",
|
||||
"value": {
|
||||
"stringValue": "25bd2434-92ea-4bf3-825f-2dafefc6d118"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.attempt",
|
||||
"value": {
|
||||
"intValue": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.outcome",
|
||||
"value": {
|
||||
"stringValue": "success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"attempt": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "1.005226",
|
||||
"event": "job.completed",
|
||||
"flags": "3",
|
||||
"job_id": "25bd2434-92ea-4bf3-825f-2dafefc6d118",
|
||||
"observed_timestamp": "1795541561578549950",
|
||||
"outcome": "success",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "310d5e9b98eb44878bb3b3058a6be2bf",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "a139641ece4a7be1",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "39acb62dd3081441d5e744ce8a9a235e",
|
||||
"timestamp_ns": "1795541561578436352",
|
||||
"body": "job.completed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"trace_id": "c497a42299ff5cae3a24da23ffd9a180",
|
||||
"span_id": "4b6afd12d51a6d22",
|
||||
"event": "job.completed",
|
||||
"kind": "CONSUMER",
|
||||
"span_name": "attachment.process",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 1.005060225,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messaging.system",
|
||||
"value": {
|
||||
"stringValue": "rabbitmq"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messaging.operation.type",
|
||||
"value": {
|
||||
"stringValue": "process"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.type",
|
||||
"value": {
|
||||
"stringValue": "attachment.process.v1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.id",
|
||||
"value": {
|
||||
"stringValue": "24c2a182-70ad-4e20-bc43-47805476fce6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.attempt",
|
||||
"value": {
|
||||
"intValue": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.outcome",
|
||||
"value": {
|
||||
"stringValue": "success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"attempt": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "1.004799",
|
||||
"event": "job.completed",
|
||||
"flags": "3",
|
||||
"job_id": "24c2a182-70ad-4e20-bc43-47805476fce6",
|
||||
"observed_timestamp": "1795541562593920790",
|
||||
"outcome": "success",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "310d5e9b98eb44878bb3b3058a6be2bf",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "4b6afd12d51a6d22",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "c497a42299ff5cae3a24da23ffd9a180",
|
||||
"timestamp_ns": "1795541562593807872",
|
||||
"body": "job.completed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"trace_id": "7c775488f94ce58834e1d63fe992071b",
|
||||
"span_id": "81c0192ba09525e9",
|
||||
"event": "job.completed",
|
||||
"kind": "CONSUMER",
|
||||
"span_name": "attachment.process",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 0.804611418,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messaging.system",
|
||||
"value": {
|
||||
"stringValue": "rabbitmq"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messaging.operation.type",
|
||||
"value": {
|
||||
"stringValue": "process"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.type",
|
||||
"value": {
|
||||
"stringValue": "attachment.process.v1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.id",
|
||||
"value": {
|
||||
"stringValue": "d13e4b4b-3f62-43cb-89ab-55af052007c4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.attempt",
|
||||
"value": {
|
||||
"intValue": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.outcome",
|
||||
"value": {
|
||||
"stringValue": "success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"attempt": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.804339",
|
||||
"event": "job.completed",
|
||||
"flags": "3",
|
||||
"job_id": "d13e4b4b-3f62-43cb-89ab-55af052007c4",
|
||||
"observed_timestamp": "1795541563408036479",
|
||||
"outcome": "success",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "310d5e9b98eb44878bb3b3058a6be2bf",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "81c0192ba09525e9",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "7c775488f94ce58834e1d63fe992071b",
|
||||
"timestamp_ns": "1795541563407904768",
|
||||
"body": "job.completed"
|
||||
}
|
||||
}
|
||||
],
|
||||
"recovered_at": 1795541567.0636334
|
||||
},
|
||||
"postgresql": {
|
||||
"started_at": 1795541567.6630478,
|
||||
"request": {
|
||||
"trace_id": "dcfd04ddb2a3b7b693e8e1781d634f1e",
|
||||
"span_id": "8df1b3fa1fcf6f45",
|
||||
"event": "http.completed",
|
||||
"kind": "SERVER",
|
||||
"span_name": "GET /api/v1/users/me",
|
||||
"span_status": {
|
||||
"code": "STATUS_CODE_ERROR"
|
||||
},
|
||||
"span_duration_seconds": 3.001072238,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "http.request.method",
|
||||
"value": {
|
||||
"stringValue": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.route",
|
||||
"value": {
|
||||
"stringValue": "/api/v1/users/me"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.request_id",
|
||||
"value": {
|
||||
"stringValue": "7ec7d6ab-aa59-4b56-a756-5ff93d7ac4ad"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.response.status_code",
|
||||
"value": {
|
||||
"intValue": "503"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "3.000964",
|
||||
"event": "http.completed",
|
||||
"flags": "3",
|
||||
"method": "GET",
|
||||
"observed_timestamp": "1795541570667693881",
|
||||
"request_id": "7ec7d6ab-aa59-4b56-a756-5ff93d7ac4ad",
|
||||
"route": "/api/v1/users/me",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "444072114bfe4796b0cd037b3501c328",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "8df1b3fa1fcf6f45",
|
||||
"status_code": "503",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "dcfd04ddb2a3b7b693e8e1781d634f1e",
|
||||
"timestamp_ns": "1795541570667625728",
|
||||
"body": "http.completed"
|
||||
}
|
||||
},
|
||||
"dependency_logs": [
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "error",
|
||||
"event": "dependency.postgresql_unavailable",
|
||||
"flags": "3",
|
||||
"observed_timestamp": "1795541570667259036",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "444072114bfe4796b0cd037b3501c328",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "17",
|
||||
"severity_text": "ERROR",
|
||||
"span_id": "8df1b3fa1fcf6f45",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "dcfd04ddb2a3b7b693e8e1781d634f1e",
|
||||
"timestamp_ns": "1795541570667118592",
|
||||
"body": "dependency.postgresql_unavailable"
|
||||
},
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "error",
|
||||
"event": "dependency.postgresql_unavailable",
|
||||
"flags": "3",
|
||||
"observed_timestamp": "1795541571017816061",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "444072114bfe4796b0cd037b3501c328",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "17",
|
||||
"severity_text": "ERROR",
|
||||
"span_id": "1e5909ab07a7c354",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "b2f20be0c9ae78fd114e3d9abcbe72fa",
|
||||
"timestamp_ns": "1795541571017629184",
|
||||
"body": "dependency.postgresql_unavailable"
|
||||
},
|
||||
{
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "error",
|
||||
"event": "dependency.postgresql_unavailable",
|
||||
"flags": "3",
|
||||
"observed_timestamp": "1795541571044419868",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "17",
|
||||
"severity_text": "ERROR",
|
||||
"span_id": "95724be4fbf8323a",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "3f801834952c0a4975da930c53d0ddd7",
|
||||
"timestamp_ns": "1795541571044263936",
|
||||
"body": "dependency.postgresql_unavailable"
|
||||
}
|
||||
],
|
||||
"error_series": [
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "messenger_http_requests_total",
|
||||
"deployment_environment_name": "lab",
|
||||
"exported_instance": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"exported_job": "messenger-api",
|
||||
"instance": "otel-collector:8889",
|
||||
"job": "messenger",
|
||||
"method": "GET",
|
||||
"otel_scope_name": "messenger",
|
||||
"route": "/api/v1/users/me",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"status_class": "5xx",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2"
|
||||
},
|
||||
"value": [
|
||||
1795541574.165,
|
||||
"1"
|
||||
]
|
||||
},
|
||||
{
|
||||
"metric": {
|
||||
"__name__": "messenger_http_requests_total",
|
||||
"deployment_environment_name": "lab",
|
||||
"exported_instance": "444072114bfe4796b0cd037b3501c328",
|
||||
"exported_job": "messenger-api",
|
||||
"instance": "otel-collector:8889",
|
||||
"job": "messenger",
|
||||
"method": "GET",
|
||||
"otel_scope_name": "messenger",
|
||||
"route": "/api/v1/users/me",
|
||||
"service_instance_id": "444072114bfe4796b0cd037b3501c328",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"status_class": "5xx",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2"
|
||||
},
|
||||
"value": [
|
||||
1795541574.165,
|
||||
"1"
|
||||
]
|
||||
}
|
||||
],
|
||||
"recovered_at": 1795541576.1383526,
|
||||
"recovered_status": 200
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 6,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 30.0,
|
||||
"elapsed_seconds": 30.067,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 9355,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 311.138,
|
||||
"successful_latency_ms": {
|
||||
"p50": 8.816,
|
||||
"p95": 29.705,
|
||||
"p99": 33.384
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,151 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"cases": [
|
||||
{
|
||||
"stopped": "otel-collector",
|
||||
"duration_seconds": 37.34,
|
||||
"confirmed_messages": 6,
|
||||
"ready_attachments": 6,
|
||||
"business_ready": 200,
|
||||
"telemetry_recovered": {
|
||||
"trace_id": "6b31c3e3173ada4d691e8b07aa803783",
|
||||
"span_id": "ebfefe4c93a9f1cf",
|
||||
"event": "http.completed",
|
||||
"kind": "SERVER",
|
||||
"span_name": "GET /api/v1/users/me",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 0.002460142,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "http.request.method",
|
||||
"value": {
|
||||
"stringValue": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.route",
|
||||
"value": {
|
||||
"stringValue": "/api/v1/users/me"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.request_id",
|
||||
"value": {
|
||||
"stringValue": "9d1615ed-146e-4833-9aa2-7ed1009ed61b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.response.status_code",
|
||||
"value": {
|
||||
"intValue": "200"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.002263",
|
||||
"event": "http.completed",
|
||||
"flags": "3",
|
||||
"method": "GET",
|
||||
"observed_timestamp": "1795541615467619114",
|
||||
"request_id": "9d1615ed-146e-4833-9aa2-7ed1009ed61b",
|
||||
"route": "/api/v1/users/me",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "444072114bfe4796b0cd037b3501c328",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "ebfefe4c93a9f1cf",
|
||||
"status_code": "200",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "6b31c3e3173ada4d691e8b07aa803783",
|
||||
"timestamp_ns": "1795541615467514368",
|
||||
"body": "http.completed"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"stopped": "loki",
|
||||
"duration_seconds": 36.27,
|
||||
"confirmed_messages": 6,
|
||||
"ready_attachments": 6,
|
||||
"business_ready": 200,
|
||||
"telemetry_recovered": {
|
||||
"trace_id": "37c5ca73a874a3c9d132645a5dc076ba",
|
||||
"span_id": "9abe0c4392a5bc20",
|
||||
"event": "http.completed",
|
||||
"kind": "SERVER",
|
||||
"span_name": "GET /api/v1/users/me",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 0.002576055,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messenger.request_id",
|
||||
"value": {
|
||||
"stringValue": "20a96a33-7313-42d0-b36c-807e2da77305"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.request.method",
|
||||
"value": {
|
||||
"stringValue": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.response.status_code",
|
||||
"value": {
|
||||
"intValue": "200"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.route",
|
||||
"value": {
|
||||
"stringValue": "/api/v1/users/me"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"__stream_shard__": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.002374",
|
||||
"event": "http.completed",
|
||||
"flags": "3",
|
||||
"method": "GET",
|
||||
"observed_timestamp": "1795541657499607879",
|
||||
"request_id": "20a96a33-7313-42d0-b36c-807e2da77305",
|
||||
"route": "/api/v1/users/me",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "9abe0c4392a5bc20",
|
||||
"status_code": "200",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "37c5ca73a874a3c9d132645a5dc076ba",
|
||||
"timestamp_ns": "1795541657499513856",
|
||||
"body": "http.completed"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"history_after_restart": "PASS",
|
||||
"oom_killed": false,
|
||||
"preserved_trace_id": "47d866aeeb7799eda465b932c01a76a9",
|
||||
"same_volumes": true,
|
||||
"loss_policy": "Bounded in-memory SDK/Collector queues; telemetry during outage may be lost."
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"idempotency_after_restart": "PASS",
|
||||
"public_persistence": "PASS",
|
||||
"cursor_after_restart": "PASS",
|
||||
"logout_after_restart": "PASS",
|
||||
"migration_replay": "PASS",
|
||||
"database": {
|
||||
"users": 405,
|
||||
"chats": 143,
|
||||
"members": 280,
|
||||
"messages": 19052,
|
||||
"sessions": 393,
|
||||
"migrations": 4,
|
||||
"idempotency_keys": 19050,
|
||||
"attachments": 83,
|
||||
"message_attachments": 29,
|
||||
"upload_intents": 0,
|
||||
"expiry_fingerprint": "63822de0eb13e50d399e09b1b14cb49a",
|
||||
"passwords_are_argon2id": true,
|
||||
"session_hashes_only": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,326 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"upload_with_stopped_worker": 202,
|
||||
"pending_content": 409,
|
||||
"same_attachment_after_api_broker_restart": true,
|
||||
"original_and_thumbnail": "PASS",
|
||||
"duplicate_noop": "PASS",
|
||||
"job_schema": "PASS",
|
||||
"anonymous_s3": 403,
|
||||
"before": {
|
||||
"api1": {
|
||||
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:25:56.382581255Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"api2": {
|
||||
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:25:52.984996325Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"broker": {
|
||||
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
|
||||
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
|
||||
"started_at": "2026-11-24T17:25:52.256687541Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_brokerdata"
|
||||
]
|
||||
},
|
||||
"cleanup": {
|
||||
"id": "a249ffe16ffabf6d6f862ec91693198634c8974d6e6824e6b00dfe9fb416e930",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:26:01.510480748Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"db": {
|
||||
"id": "ec1d4c552ad0bb485d3036d09ed03aaf98e0c3601d84de3882ccd466fc74abdf",
|
||||
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
|
||||
"started_at": "2026-11-24T17:25:51.912852372Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_pgdata"
|
||||
]
|
||||
},
|
||||
"grafana": {
|
||||
"id": "2d50ee28687f38147313e35857bd6343ad4d8d3bd4b84f68cf9b9408c187959d",
|
||||
"image": "sha256:0615ec4fbd4072004b7d86b46ded63013a74b7d6eb1119273dd89e8fa25c13cf",
|
||||
"started_at": "2026-11-24T17:25:52.171902213Z",
|
||||
"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:25:51.582202404Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "haproxy",
|
||||
"volumes": []
|
||||
},
|
||||
"loki": {
|
||||
"id": "6764a6392534013845b684f69053666058b57fa972f9457d3ee22a19c4178b89",
|
||||
"image": "sha256:b43c257ccfc925d4a50b8717cac61a3b51df8c48d01847936057e5c4075a24a7",
|
||||
"started_at": "2026-11-24T17:25:52.409951228Z",
|
||||
"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:25:51.973725997Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "10001:10001",
|
||||
"volumes": []
|
||||
},
|
||||
"prometheus": {
|
||||
"id": "4deefe311d08062441f8371cb645f0401202a4b3513bcf8507c27b3413f3b607",
|
||||
"image": "sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06",
|
||||
"started_at": "2026-11-24T17:25:51.800547504Z",
|
||||
"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:25:52.33333989Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"e678773655c0c8653bb51a4f0ec1693769abbe9cc920890557e3d3e32175f123"
|
||||
]
|
||||
},
|
||||
"s3-storage": {
|
||||
"id": "2dba1d03b86d13c954b7ee3d8aadf8915a1e05f859c65cfc0e1d601d5f176bc2",
|
||||
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
|
||||
"started_at": "2026-11-24T17:26:01.572046274Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_s3data"
|
||||
]
|
||||
},
|
||||
"tempo": {
|
||||
"id": "0f77b5721467a97e1955f08234bb5a0704ab4c2c42aff3c5696dad183a8c0279",
|
||||
"image": "sha256:64e2fbd56d9c2b3412a4b430a58ea59e91a670b1e75f920a0c702213ad145044",
|
||||
"started_at": "2026-11-24T17:26:01.417080767Z",
|
||||
"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:25:52.008930323Z",
|
||||
"running": false,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api1": {
|
||||
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:27:33.142515517Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"api2": {
|
||||
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:27:33.199168659Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"broker": {
|
||||
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
|
||||
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
|
||||
"started_at": "2026-11-24T17:27:32.811977378Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_brokerdata"
|
||||
]
|
||||
},
|
||||
"cleanup": {
|
||||
"id": "a249ffe16ffabf6d6f862ec91693198634c8974d6e6824e6b00dfe9fb416e930",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:26:01.510480748Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"db": {
|
||||
"id": "ec1d4c552ad0bb485d3036d09ed03aaf98e0c3601d84de3882ccd466fc74abdf",
|
||||
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
|
||||
"started_at": "2026-11-24T17:25:51.912852372Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_pgdata"
|
||||
]
|
||||
},
|
||||
"grafana": {
|
||||
"id": "2d50ee28687f38147313e35857bd6343ad4d8d3bd4b84f68cf9b9408c187959d",
|
||||
"image": "sha256:0615ec4fbd4072004b7d86b46ded63013a74b7d6eb1119273dd89e8fa25c13cf",
|
||||
"started_at": "2026-11-24T17:25:52.171902213Z",
|
||||
"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:25:51.582202404Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "haproxy",
|
||||
"volumes": []
|
||||
},
|
||||
"loki": {
|
||||
"id": "6764a6392534013845b684f69053666058b57fa972f9457d3ee22a19c4178b89",
|
||||
"image": "sha256:b43c257ccfc925d4a50b8717cac61a3b51df8c48d01847936057e5c4075a24a7",
|
||||
"started_at": "2026-11-24T17:25:52.409951228Z",
|
||||
"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:25:51.973725997Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "10001:10001",
|
||||
"volumes": []
|
||||
},
|
||||
"prometheus": {
|
||||
"id": "4deefe311d08062441f8371cb645f0401202a4b3513bcf8507c27b3413f3b607",
|
||||
"image": "sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06",
|
||||
"started_at": "2026-11-24T17:25:51.800547504Z",
|
||||
"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:25:52.33333989Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"e678773655c0c8653bb51a4f0ec1693769abbe9cc920890557e3d3e32175f123"
|
||||
]
|
||||
},
|
||||
"s3-storage": {
|
||||
"id": "2dba1d03b86d13c954b7ee3d8aadf8915a1e05f859c65cfc0e1d601d5f176bc2",
|
||||
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
|
||||
"started_at": "2026-11-24T17:26:01.572046274Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_s3data"
|
||||
]
|
||||
},
|
||||
"tempo": {
|
||||
"id": "0f77b5721467a97e1955f08234bb5a0704ab4c2c42aff3c5696dad183a8c0279",
|
||||
"image": "sha256:64e2fbd56d9c2b3412a4b430a58ea59e91a670b1e75f920a0c702213ad145044",
|
||||
"started_at": "2026-11-24T17:26:01.417080767Z",
|
||||
"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:25:52.008930323Z",
|
||||
"running": false,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
{
|
||||
"project": "mtusi-lab6",
|
||||
"before": {
|
||||
"api1": {
|
||||
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:30:00.394679898Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"api2": {
|
||||
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:30:10.798886765Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"broker": {
|
||||
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
|
||||
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
|
||||
"started_at": "2026-11-24T17:31:34.169274895Z",
|
||||
"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:32:54.574033097Z",
|
||||
"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:34:17.319221077Z",
|
||||
"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:33:35.289069664Z",
|
||||
"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:31:25.079239181Z",
|
||||
"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:34:35.893498219Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api1": {
|
||||
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:35:00.365708343Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"api2": {
|
||||
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:35:00.954093711Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"broker": {
|
||||
"id": "04538b337c66b8b2afda25acdbf1d5073cee7d2b26e5238a4e068eb71b2d02ee",
|
||||
"image": "sha256:61f90c401a5b5ed2486771973ea92ad66046471eacab9c9149f1a6e091c91677",
|
||||
"started_at": "2026-11-24T17:34:56.438776078Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_brokerdata"
|
||||
]
|
||||
},
|
||||
"cleanup": {
|
||||
"id": "a249ffe16ffabf6d6f862ec91693198634c8974d6e6824e6b00dfe9fb416e930",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:35:05.644763775Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"db": {
|
||||
"id": "ec1d4c552ad0bb485d3036d09ed03aaf98e0c3601d84de3882ccd466fc74abdf",
|
||||
"image": "sha256:665dc7b37ac52a17e298511414c21d23ffa4e6a6ef6225b3e5d59c7afb35e994",
|
||||
"started_at": "2026-11-24T17:34:55.967633072Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_pgdata"
|
||||
]
|
||||
},
|
||||
"grafana": {
|
||||
"id": "2d50ee28687f38147313e35857bd6343ad4d8d3bd4b84f68cf9b9408c187959d",
|
||||
"image": "sha256:0615ec4fbd4072004b7d86b46ded63013a74b7d6eb1119273dd89e8fa25c13cf",
|
||||
"started_at": "2026-11-24T17:34:56.25447291Z",
|
||||
"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:34:56.07264446Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "haproxy",
|
||||
"volumes": []
|
||||
},
|
||||
"loki": {
|
||||
"id": "6764a6392534013845b684f69053666058b57fa972f9457d3ee22a19c4178b89",
|
||||
"image": "sha256:b43c257ccfc925d4a50b8717cac61a3b51df8c48d01847936057e5c4075a24a7",
|
||||
"started_at": "2026-11-24T17:34:56.509449464Z",
|
||||
"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:34:55.727152373Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "10001:10001",
|
||||
"volumes": []
|
||||
},
|
||||
"prometheus": {
|
||||
"id": "4deefe311d08062441f8371cb645f0401202a4b3513bcf8507c27b3413f3b607",
|
||||
"image": "sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06",
|
||||
"started_at": "2026-11-24T17:34:56.189842786Z",
|
||||
"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:34:56.3212871Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"e678773655c0c8653bb51a4f0ec1693769abbe9cc920890557e3d3e32175f123"
|
||||
]
|
||||
},
|
||||
"s3-storage": {
|
||||
"id": "2dba1d03b86d13c954b7ee3d8aadf8915a1e05f859c65cfc0e1d601d5f176bc2",
|
||||
"image": "sha256:4b42c212543a0acd4c0e675215ecdcaf62a186ef98def76c7e12701871222d15",
|
||||
"started_at": "2026-11-24T17:35:05.830436446Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "",
|
||||
"volumes": [
|
||||
"mtusi-lab6_s3data"
|
||||
]
|
||||
},
|
||||
"tempo": {
|
||||
"id": "0f77b5721467a97e1955f08234bb5a0704ab4c2c42aff3c5696dad183a8c0279",
|
||||
"image": "sha256:64e2fbd56d9c2b3412a4b430a58ea59e91a670b1e75f920a0c702213ad145044",
|
||||
"started_at": "2026-11-24T17:35:05.769508713Z",
|
||||
"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:34:56.385691098Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"transient_attempts": 2,
|
||||
"max_attempts": 5,
|
||||
"failed_content": 409,
|
||||
"failed_link": 409,
|
||||
"processing_observed": true,
|
||||
"permanent_error_attempts": 1,
|
||||
"worker_stopped_before_result_commit": true,
|
||||
"staging_retention_and_pending_protection": true,
|
||||
"redelivery_same_result": true
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"service": "api2",
|
||||
"target_instance": "736da548ff84468a98ab686f17aba408",
|
||||
"before": {
|
||||
"api1": {
|
||||
"instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"container_id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca"
|
||||
},
|
||||
"api2": {
|
||||
"instance_id": "736da548ff84468a98ab686f17aba408",
|
||||
"container_id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"api1": {
|
||||
"id": "7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:30:00.394679898Z",
|
||||
"running": true,
|
||||
"oom_killed": false,
|
||||
"restart_count": 0,
|
||||
"user": "messenger",
|
||||
"volumes": []
|
||||
},
|
||||
"api2": {
|
||||
"id": "492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8",
|
||||
"image": "sha256:ff70432acaa44e9aed4a4b4f7717e0d6b721e752f2cee27fb37a18e4906145ec",
|
||||
"started_at": "2026-11-24T17:29:32.125437383Z",
|
||||
"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": 1.086
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,240 @@
|
||||
{
|
||||
"status": "PASS",
|
||||
"api": {
|
||||
"trace_id": "47d866aeeb7799eda465b932c01a76a9",
|
||||
"span_id": "b495a2369527df71",
|
||||
"event": "http.completed",
|
||||
"kind": "SERVER",
|
||||
"span_name": "GET /api/v1/users/me",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 0.003135729,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "http.request.method",
|
||||
"value": {
|
||||
"stringValue": "GET"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.route",
|
||||
"value": {
|
||||
"stringValue": "/api/v1/users/me"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.request_id",
|
||||
"value": {
|
||||
"stringValue": "ead98a6d-71d8-4ea1-9152-7a92d24be624"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "http.response.status_code",
|
||||
"value": {
|
||||
"intValue": "200"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.002889",
|
||||
"event": "http.completed",
|
||||
"flags": "3",
|
||||
"method": "GET",
|
||||
"observed_timestamp": "1795541668753877054",
|
||||
"request_id": "ead98a6d-71d8-4ea1-9152-7a92d24be624",
|
||||
"route": "/api/v1/users/me",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "06856a62abfe4be69fed859ad83a7c9d",
|
||||
"service_name": "messenger-api",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "b495a2369527df71",
|
||||
"status_code": "200",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "47d866aeeb7799eda465b932c01a76a9",
|
||||
"timestamp_ns": "1795541668753778688",
|
||||
"body": "http.completed"
|
||||
}
|
||||
},
|
||||
"worker": {
|
||||
"trace_id": "7da376a4205196ebc235acdae404920f",
|
||||
"span_id": "cf4d7438c8ea6c79",
|
||||
"event": "job.completed",
|
||||
"kind": "CONSUMER",
|
||||
"span_name": "attachment.process",
|
||||
"span_status": {},
|
||||
"span_duration_seconds": 0.804822385,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messaging.system",
|
||||
"value": {
|
||||
"stringValue": "rabbitmq"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messaging.operation.type",
|
||||
"value": {
|
||||
"stringValue": "process"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.type",
|
||||
"value": {
|
||||
"stringValue": "attachment.process.v1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.id",
|
||||
"value": {
|
||||
"stringValue": "75ac6096-9483-4c1c-a92f-baa5e7bfd726"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.attempt",
|
||||
"value": {
|
||||
"intValue": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.outcome",
|
||||
"value": {
|
||||
"stringValue": "success"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"attempt": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.804627",
|
||||
"event": "job.completed",
|
||||
"flags": "3",
|
||||
"job_id": "75ac6096-9483-4c1c-a92f-baa5e7bfd726",
|
||||
"observed_timestamp": "1795541672113286071",
|
||||
"outcome": "success",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "310d5e9b98eb44878bb3b3058a6be2bf",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "cf4d7438c8ea6c79",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "7da376a4205196ebc235acdae404920f",
|
||||
"timestamp_ns": "1795541672113185024",
|
||||
"body": "job.completed"
|
||||
}
|
||||
},
|
||||
"failed_worker": {
|
||||
"trace_id": "8266fd91393d51e01f9fdc4a3d989884",
|
||||
"span_id": "a6e20373274ce4f8",
|
||||
"event": "job.completed",
|
||||
"kind": "CONSUMER",
|
||||
"span_name": "attachment.process",
|
||||
"span_status": {
|
||||
"code": "STATUS_CODE_ERROR"
|
||||
},
|
||||
"span_duration_seconds": 0.804217584,
|
||||
"span_attributes": [
|
||||
{
|
||||
"key": "messaging.system",
|
||||
"value": {
|
||||
"stringValue": "rabbitmq"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messaging.operation.type",
|
||||
"value": {
|
||||
"stringValue": "process"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.type",
|
||||
"value": {
|
||||
"stringValue": "attachment.process.v1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.id",
|
||||
"value": {
|
||||
"stringValue": "2c3ae983-87d9-44e1-a108-f43a3475b51a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.attempt",
|
||||
"value": {
|
||||
"intValue": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "messenger.job.outcome",
|
||||
"value": {
|
||||
"stringValue": "failed"
|
||||
}
|
||||
}
|
||||
],
|
||||
"log": {
|
||||
"attempt": "1",
|
||||
"code_file_path": "/app/src/telemetry.py",
|
||||
"code_function_name": "event",
|
||||
"code_line_number": "115",
|
||||
"deployment_environment_name": "lab",
|
||||
"detected_level": "info",
|
||||
"duration_seconds": "0.803662",
|
||||
"error_code": "invalid_image",
|
||||
"event": "job.completed",
|
||||
"flags": "3",
|
||||
"job_id": "2c3ae983-87d9-44e1-a108-f43a3475b51a",
|
||||
"observed_timestamp": "1795541677397406604",
|
||||
"outcome": "failed",
|
||||
"scope_name": "messenger",
|
||||
"service_instance_id": "183ad5e4deb740cfb33bd4ef4dd34d50",
|
||||
"service_name": "messenger-worker",
|
||||
"service_version": "lab6",
|
||||
"severity_number": "9",
|
||||
"severity_text": "INFO",
|
||||
"span_id": "a6e20373274ce4f8",
|
||||
"telemetry_sdk_language": "python",
|
||||
"telemetry_sdk_name": "opentelemetry",
|
||||
"telemetry_sdk_version": "1.45.2",
|
||||
"trace_id": "8266fd91393d51e01f9fdc4a3d989884",
|
||||
"timestamp_ns": "1795541677397277184",
|
||||
"body": "job.completed"
|
||||
}
|
||||
},
|
||||
"failed_job_series": 1,
|
||||
"privacy": "PASS",
|
||||
"route_cardinality": "PASS",
|
||||
"no_duplicate_instrumentation": true,
|
||||
"http_series": 6,
|
||||
"job_series": 1,
|
||||
"http_histogram_buckets": 588,
|
||||
"job_histogram_buckets": 28,
|
||||
"grafana": {
|
||||
"log_trace_queries": [
|
||||
"loki",
|
||||
"tempo"
|
||||
],
|
||||
"dashboard_uid": "messenger-lab6",
|
||||
"data_sources": [
|
||||
"loki",
|
||||
"prometheus",
|
||||
"tempo"
|
||||
],
|
||||
"prometheus_queries_valid": 6,
|
||||
"source_health": "PASS"
|
||||
},
|
||||
"metric_time": 1795541694.5842936
|
||||
}
|
||||
@@ -0,0 +1,524 @@
|
||||
Environment ready; existing settings and secrets preserved
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env config --quiet
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env config --quiet
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env build api1
|
||||
Image mtusi-messenger:lab6 Building
|
||||
#1 [internal] load local bake definitions
|
||||
#1 reading from stdin 1.62kB 0.0s done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [internal] load build definition from Dockerfile
|
||||
#2 transferring dockerfile: 728B done
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [internal] load metadata for docker.io/library/python:3.13.14-slim-bookworm@sha256:67a1e1f215ccda113cfc024e8639049257e88f273898f595b61476d128d387e8
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [internal] load .dockerignore
|
||||
#4 transferring context: 246B done
|
||||
#4 DONE 0.0s
|
||||
|
||||
#5 [internal] load build context
|
||||
#5 transferring context: 903B done
|
||||
#5 DONE 0.0s
|
||||
|
||||
#6 [1/6] FROM docker.io/library/python:3.13.14-slim-bookworm@sha256:67a1e1f215ccda113cfc024e8639049257e88f273898f595b61476d128d387e8
|
||||
#6 resolve docker.io/library/python:3.13.14-slim-bookworm@sha256:67a1e1f215ccda113cfc024e8639049257e88f273898f595b61476d128d387e8 0.0s done
|
||||
#6 DONE 0.0s
|
||||
|
||||
#7 [2/6] WORKDIR /app
|
||||
#7 CACHED
|
||||
|
||||
#8 [3/6] COPY requirements.lock .
|
||||
#8 CACHED
|
||||
|
||||
#9 [5/6] COPY src ./src
|
||||
#9 CACHED
|
||||
|
||||
#10 [4/6] RUN python -m pip install --no-cache-dir -r requirements.lock && useradd --uid 10001 --create-home messenger
|
||||
#10 CACHED
|
||||
|
||||
#11 [6/6] COPY migrations ./migrations
|
||||
#11 CACHED
|
||||
|
||||
#12 exporting to image
|
||||
#12 exporting layers done
|
||||
#12 exporting manifest sha256:8f8a9c022d6e82ac7408d6e7b387df7d24222f34a02c79c3f266abbaa744ba95 done
|
||||
#12 exporting config sha256:d209e80c9bdb4d0601ad6d848d55774c8dd73f7488e8685eb170ee14c5c71446 done
|
||||
#12 exporting attestation manifest sha256:9ef7ca0d96ecc0ed01f3fca1eb8616fff67ba379873c481ebd1d9947fd49da0c 0.0s done
|
||||
#12 exporting manifest list sha256:e9126244a9504c5fcc57f580af44450124ff72ea548eb3b23858c7f3cdeda78f
|
||||
#12 exporting manifest list sha256:e9126244a9504c5fcc57f580af44450124ff72ea548eb3b23858c7f3cdeda78f 0.0s done
|
||||
#12 naming to docker.io/library/mtusi-messenger:lab6 done
|
||||
#12 unpacking to docker.io/library/mtusi-messenger:lab6 done
|
||||
#12 DONE 0.1s
|
||||
|
||||
#13 resolving provenance for metadata file
|
||||
#13 DONE 0.0s
|
||||
Image mtusi-messenger:lab6 Built
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env run --rm --no-deps lb haproxy -c -f /usr/local/etc/haproxy/haproxy.cfg
|
||||
Container mtusi-lab6-lb-run-47026e552ab9 Creating
|
||||
Container mtusi-lab6-lb-run-47026e552ab9 Created
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env up -d --no-build db migrate s3-storage s3 bootstrap api1 api2 cleanup broker worker lb otel-collector prometheus loki tempo grafana
|
||||
Container mtusi-lab6-tempo-1 Running
|
||||
Container mtusi-lab6-grafana-1 Running
|
||||
Container mtusi-lab6-api1-1 Running
|
||||
Container mtusi-lab6-cleanup-1 Running
|
||||
Container mtusi-lab6-worker-1 Running
|
||||
Container mtusi-lab6-s3-1 Running
|
||||
Container mtusi-lab6-broker-1 Running
|
||||
Container mtusi-lab6-lb-1 Running
|
||||
Container mtusi-lab6-otel-collector-1 Running
|
||||
Container mtusi-lab6-loki-1 Running
|
||||
Container mtusi-lab6-prometheus-1 Running
|
||||
Container mtusi-lab6-db-1 Running
|
||||
Container mtusi-lab6-s3-storage-1 Running
|
||||
Container mtusi-lab6-api2-1 Running
|
||||
Container mtusi-lab6-migrate-1 Recreate
|
||||
Container mtusi-lab6-bootstrap-1 Recreate
|
||||
Container mtusi-lab6-migrate-1 Recreated
|
||||
Container mtusi-lab6-bootstrap-1 Recreated
|
||||
Container mtusi-lab6-db-1 Waiting
|
||||
Container mtusi-lab6-s3-storage-1 Waiting
|
||||
Container mtusi-lab6-broker-1 Waiting
|
||||
Container mtusi-lab6-s3-storage-1 Healthy
|
||||
Container mtusi-lab6-bootstrap-1 Starting
|
||||
Container mtusi-lab6-broker-1 Healthy
|
||||
Container mtusi-lab6-db-1 Healthy
|
||||
Container mtusi-lab6-migrate-1 Starting
|
||||
Container mtusi-lab6-bootstrap-1 Started
|
||||
Container mtusi-lab6-bootstrap-1 Waiting
|
||||
Container mtusi-lab6-migrate-1 Started
|
||||
Container mtusi-lab6-migrate-1 Waiting
|
||||
Container mtusi-lab6-migrate-1 Exited
|
||||
Container mtusi-lab6-bootstrap-1 Exited
|
||||
Two API replicas ready through LB: http://127.0.0.1:8080
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 tests/smoke.py --base-url http://127.0.0.1:8080
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 -m unittest discover -s student-tests -v
|
||||
test_auth_and_access (test_api.ApiTests.test_auth_and_access) ... ok
|
||||
test_bad_cursors_and_limits (test_api.ApiTests.test_bad_cursors_and_limits) ... ok
|
||||
test_chat_pagination (test_api.ApiTests.test_chat_pagination) ... ok
|
||||
test_chat_validation_is_atomic (test_api.ApiTests.test_chat_validation_is_atomic) ... ok
|
||||
test_invalid_json_and_content_type (test_api.ApiTests.test_invalid_json_and_content_type) ... ok
|
||||
test_message_fields_and_unicode (test_api.ApiTests.test_message_fields_and_unicode) ... ok
|
||||
test_message_pagination (test_api.ApiTests.test_message_pagination) ... ok
|
||||
test_parallel_messages (test_api.ApiTests.test_parallel_messages) ... ok
|
||||
test_parallel_username (test_api.ApiTests.test_parallel_username) ... ok
|
||||
test_read_after_write (test_api.ApiTests.test_read_after_write) ... ok
|
||||
test_user_fields (test_api.ApiTests.test_user_fields) ... ok
|
||||
test_attachment_access_and_unknown_ids (test_attachments.AttachmentTests.test_attachment_access_and_unknown_ids) ... ok
|
||||
test_bad_attachment_list_and_other_chat_do_not_create_messages (test_attachments.AttachmentTests.test_bad_attachment_list_and_other_chat_do_not_create_messages) ... ok
|
||||
test_byte_limit_and_original_at_exact_boundary (test_attachments.AttachmentTests.test_byte_limit_and_original_at_exact_boundary) ... ok
|
||||
test_chunked_body_cannot_bypass_size_limit (test_attachments.AttachmentTests.test_chunked_body_cannot_bypass_size_limit) ... ok
|
||||
test_corrupt_images_mime_and_multipart (test_attachments.AttachmentTests.test_corrupt_images_mime_and_multipart) ... ok
|
||||
test_filename_validation (test_attachments.AttachmentTests.test_filename_validation) ... ok
|
||||
test_idempotency_defaults_and_attachment_replay (test_attachments.AttachmentTests.test_idempotency_defaults_and_attachment_replay) ... ok
|
||||
test_messages_keep_attachment_order_and_allow_empty_text (test_attachments.AttachmentTests.test_messages_keep_attachment_order_and_allow_empty_text) ... ok
|
||||
test_original_png_jpeg_and_unicode_filename (test_attachments.AttachmentTests.test_original_png_jpeg_and_unicode_filename) ... ok
|
||||
test_pixel_boundary_and_decompression_bomb (test_attachments.AttachmentTests.test_pixel_boundary_and_decompression_bomb) ... ok
|
||||
test_thumbnail_orientation_transparency_and_small_size (test_attachments.AttachmentTests.test_thumbnail_orientation_transparency_and_small_size) ... ok
|
||||
test_different_body_conflicts (test_idempotency.IdempotencyTests.test_different_body_conflicts) ... ok
|
||||
test_failure_rolls_back_message_and_key (test_idempotency.IdempotencyTests.test_failure_rolls_back_message_and_key) ... ok
|
||||
test_invalid_body_does_not_reserve_key (test_idempotency.IdempotencyTests.test_invalid_body_does_not_reserve_key) ... ok
|
||||
test_key_required_and_format (test_idempotency.IdempotencyTests.test_key_required_and_format) ... ok
|
||||
test_replay_normalizes_json (test_idempotency.IdempotencyTests.test_replay_normalizes_json) ... ok
|
||||
test_replay_still_checks_access_and_session (test_idempotency.IdempotencyTests.test_replay_still_checks_access_and_session) ... ok
|
||||
test_retention_and_expired_key_reuse (test_idempotency.IdempotencyTests.test_retention_and_expired_key_reuse) ... ok
|
||||
test_same_session_on_both_instances (test_idempotency.IdempotencyTests.test_same_session_on_both_instances) ... ok
|
||||
test_scope_is_user_and_chat_not_session (test_idempotency.IdempotencyTests.test_scope_is_user_and_chat_not_session) ... ok
|
||||
test_twenty_concurrent_requests_use_both_replicas (test_idempotency.IdempotencyTests.test_twenty_concurrent_requests_use_both_replicas) ... ok
|
||||
test_logout_only_revokes_current_session (test_sessions.SessionTests.test_logout_only_revokes_current_session) ... ok
|
||||
test_malformed_basic_and_body (test_sessions.SessionTests.test_malformed_basic_and_body) ... ok
|
||||
test_only_bearer_identifies_user (test_sessions.SessionTests.test_only_bearer_identifies_user) ... ok
|
||||
test_password_boundaries_unicode_colon_spaces (test_sessions.SessionTests.test_password_boundaries_unicode_colon_spaces) ... ok
|
||||
test_password_required_and_limits (test_sessions.SessionTests.test_password_required_and_limits) ... ok
|
||||
test_wrong_and_unknown_credentials (test_sessions.SessionTests.test_wrong_and_unknown_credentials) ... ok
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 38 tests in 28.827s
|
||||
|
||||
OK
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/pipeline_checks.py queue
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env restart --timeout 10 api1 api2 broker
|
||||
Container mtusi-lab6-api2-1 Restarting
|
||||
Container mtusi-lab6-broker-1 Restarting
|
||||
Container mtusi-lab6-api1-1 Restarting
|
||||
Container mtusi-lab6-broker-1 Started
|
||||
Container mtusi-lab6-api1-1 Started
|
||||
Container mtusi-lab6-api2-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
PASS: accepted upload survived API/broker restart; thumbnail and duplicate delivery checked
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/pipeline_checks.py retry
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 3 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
PASS: retry recovery, final failed and real worker interruption
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 tests/resilience.py --mode persistence --action-script ".\scripts\restart.cmd" --base-url http://127.0.0.1:8080
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env run --rm --no-deps migrate
|
||||
Container mtusi-lab6-migrate-run-7ac9eab470c4 Creating
|
||||
Container mtusi-lab6-migrate-run-7ac9eab470c4 Created
|
||||
Already applied: 001_initial.sql
|
||||
Already applied: 002_idempotency.sql
|
||||
Already applied: 003_attachments.sql
|
||||
Already applied: 004_jobs.sql
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env run --rm --no-deps migrate
|
||||
Container mtusi-lab6-migrate-run-1a1fae6918e0 Creating
|
||||
Container mtusi-lab6-migrate-run-1a1fae6918e0 Created
|
||||
Already applied: 001_initial.sql
|
||||
Already applied: 002_idempotency.sql
|
||||
Already applied: 003_attachments.sql
|
||||
Already applied: 004_jobs.sql
|
||||
PASS: old session/cursor, durable logout and repeatable migrations
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 tests/resilience.py --mode failover --action-script ".\scripts\stop-one.cmd" --base-url http://127.0.0.1:8080
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 102, "failed_attempts": 4, "first_recovery_seconds": 3.025}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start api1 api2
|
||||
Container mtusi-lab6-api2-1 Starting
|
||||
Container mtusi-lab6-api2-1 Started
|
||||
PASS: both physical API replicas stopped separately; no lost messages or duplicates
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start api1 api2
|
||||
Container mtusi-lab6-api1-1 Starting
|
||||
Container mtusi-lab6-api1-1 Started
|
||||
$ ".\scripts\stop-one.cmd"
|
||||
$ docker stop --timeout 3 7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca
|
||||
7ecb12ba7d557d75b547e5acef724648c766b5fc1936a91c0bf9601723583dca
|
||||
Stopped only api1
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start api1 api2
|
||||
Container mtusi-lab6-api1-1 Starting
|
||||
Container mtusi-lab6-api1-1 Started
|
||||
$ ".\scripts\stop-one.cmd"
|
||||
$ docker stop --timeout 3 492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8
|
||||
492f9abe78231950aff9254e6740402bc3b7166ba3a873d7b9d869dc0a229ba8
|
||||
Stopped only api2
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start api1 api2
|
||||
Container mtusi-lab6-api2-1 Starting
|
||||
Container mtusi-lab6-api2-1 Started
|
||||
PASS: stopped each uploader; other API downloaded the same original
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start api1 api2
|
||||
$ docker compose --project-name mtusi-lab6-ttl --env-file .env up -d --no-build db migrate s3-storage s3 bootstrap api1 api2 cleanup broker worker lb otel-collector prometheus loki tempo grafana
|
||||
Network mtusi-lab6-ttl_storage Creating
|
||||
Network mtusi-lab6-ttl_default Creating
|
||||
Network mtusi-lab6-ttl_storage Creating
|
||||
Network mtusi-lab6-ttl_default Creating
|
||||
Network mtusi-lab6-ttl_default Created
|
||||
Network mtusi-lab6-ttl_default Created
|
||||
Container mtusi-lab6-ttl-tempo-1 Creating
|
||||
Container mtusi-lab6-ttl-db-1 Creating
|
||||
Container mtusi-lab6-ttl-broker-1 Creating
|
||||
Container mtusi-lab6-ttl-loki-1 Creating
|
||||
Container mtusi-lab6-ttl-grafana-1 Creating
|
||||
Container mtusi-lab6-ttl-prometheus-1 Creating
|
||||
Network mtusi-lab6-ttl_storage Created
|
||||
Network mtusi-lab6-ttl_storage Created
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Creating
|
||||
Container mtusi-lab6-ttl-tempo-1 Created
|
||||
Container mtusi-lab6-ttl-loki-1 Created
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Creating
|
||||
Container mtusi-lab6-ttl-prometheus-1 Created
|
||||
Container mtusi-lab6-ttl-broker-1 Created
|
||||
Container mtusi-lab6-ttl-db-1 Created
|
||||
Container mtusi-lab6-ttl-migrate-1 Creating
|
||||
Container mtusi-lab6-ttl-grafana-1 Created
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Created
|
||||
Container mtusi-lab6-ttl-s3-1 Creating
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Created
|
||||
Container mtusi-lab6-ttl-migrate-1 Created
|
||||
Container mtusi-lab6-ttl-s3-1 Created
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Creating
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Created
|
||||
Container mtusi-lab6-ttl-worker-1 Creating
|
||||
Container mtusi-lab6-ttl-api1-1 Creating
|
||||
Container mtusi-lab6-ttl-api2-1 Creating
|
||||
Container mtusi-lab6-ttl-cleanup-1 Creating
|
||||
Container mtusi-lab6-ttl-cleanup-1 Created
|
||||
Container mtusi-lab6-ttl-api2-1 Created
|
||||
Container mtusi-lab6-ttl-api1-1 Created
|
||||
Container mtusi-lab6-ttl-lb-1 Creating
|
||||
Container mtusi-lab6-ttl-worker-1 Created
|
||||
Container mtusi-lab6-ttl-lb-1 Created
|
||||
Container mtusi-lab6-ttl-broker-1 Starting
|
||||
Container mtusi-lab6-ttl-db-1 Starting
|
||||
Container mtusi-lab6-ttl-grafana-1 Starting
|
||||
Container mtusi-lab6-ttl-loki-1 Starting
|
||||
Container mtusi-lab6-ttl-tempo-1 Starting
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Starting
|
||||
Container mtusi-lab6-ttl-prometheus-1 Starting
|
||||
Container mtusi-lab6-ttl-broker-1 Started
|
||||
Container mtusi-lab6-ttl-broker-1 Waiting
|
||||
Container mtusi-lab6-ttl-db-1 Started
|
||||
Container mtusi-lab6-ttl-db-1 Waiting
|
||||
Container mtusi-lab6-ttl-grafana-1 Started
|
||||
Container mtusi-lab6-ttl-loki-1 Started
|
||||
Container mtusi-lab6-ttl-tempo-1 Started
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Starting
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Started
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Waiting
|
||||
Container mtusi-lab6-ttl-prometheus-1 Started
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Started
|
||||
Container mtusi-lab6-ttl-db-1 Healthy
|
||||
Container mtusi-lab6-ttl-migrate-1 Starting
|
||||
Container mtusi-lab6-ttl-migrate-1 Started
|
||||
Container mtusi-lab6-ttl-migrate-1 Waiting
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Healthy
|
||||
Container mtusi-lab6-ttl-s3-1 Starting
|
||||
Container mtusi-lab6-ttl-migrate-1 Exited
|
||||
Container mtusi-lab6-ttl-s3-1 Started
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Starting
|
||||
Container mtusi-lab6-ttl-broker-1 Healthy
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Started
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Waiting
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Exited
|
||||
Container mtusi-lab6-ttl-worker-1 Starting
|
||||
Container mtusi-lab6-ttl-api2-1 Starting
|
||||
Container mtusi-lab6-ttl-cleanup-1 Starting
|
||||
Container mtusi-lab6-ttl-api1-1 Starting
|
||||
Container mtusi-lab6-ttl-worker-1 Started
|
||||
Container mtusi-lab6-ttl-api2-1 Started
|
||||
Container mtusi-lab6-ttl-cleanup-1 Started
|
||||
Container mtusi-lab6-ttl-api1-1 Started
|
||||
Container mtusi-lab6-ttl-lb-1 Starting
|
||||
Container mtusi-lab6-ttl-lb-1 Started
|
||||
Two API replicas ready through LB: http://127.0.0.1:18089
|
||||
$ docker compose --project-name mtusi-lab6-ttl --env-file .env restart --timeout 3 api1 api2
|
||||
Container mtusi-lab6-ttl-api2-1 Restarting
|
||||
Container mtusi-lab6-ttl-api1-1 Restarting
|
||||
Container mtusi-lab6-ttl-api2-1 Started
|
||||
Container mtusi-lab6-ttl-api1-1 Started
|
||||
PASS: TTL=2, expired token rejected after API restart; fresh login works
|
||||
$ docker compose --project-name mtusi-lab6-ttl --env-file .env down --timeout 10
|
||||
Container mtusi-lab6-ttl-grafana-1 Stopping
|
||||
Container mtusi-lab6-ttl-worker-1 Stopping
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Stopping
|
||||
Container mtusi-lab6-ttl-prometheus-1 Stopping
|
||||
Container mtusi-lab6-ttl-cleanup-1 Stopping
|
||||
Container mtusi-lab6-ttl-lb-1 Stopping
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Stopped
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Removing
|
||||
Container mtusi-lab6-ttl-otel-collector-1 Removed
|
||||
Container mtusi-lab6-ttl-loki-1 Stopping
|
||||
Container mtusi-lab6-ttl-tempo-1 Stopping
|
||||
Container mtusi-lab6-ttl-lb-1 Stopped
|
||||
Container mtusi-lab6-ttl-lb-1 Removing
|
||||
Container mtusi-lab6-ttl-lb-1 Removed
|
||||
Container mtusi-lab6-ttl-api1-1 Stopping
|
||||
Container mtusi-lab6-ttl-api2-1 Stopping
|
||||
Container mtusi-lab6-ttl-prometheus-1 Stopped
|
||||
Container mtusi-lab6-ttl-prometheus-1 Removing
|
||||
Container mtusi-lab6-ttl-prometheus-1 Removed
|
||||
Container mtusi-lab6-ttl-worker-1 Stopped
|
||||
Container mtusi-lab6-ttl-worker-1 Removing
|
||||
Container mtusi-lab6-ttl-worker-1 Removed
|
||||
Container mtusi-lab6-ttl-grafana-1 Stopped
|
||||
Container mtusi-lab6-ttl-grafana-1 Removing
|
||||
Container mtusi-lab6-ttl-grafana-1 Removed
|
||||
Container mtusi-lab6-ttl-loki-1 Stopped
|
||||
Container mtusi-lab6-ttl-loki-1 Removing
|
||||
Container mtusi-lab6-ttl-loki-1 Removed
|
||||
Container mtusi-lab6-ttl-api2-1 Stopped
|
||||
Container mtusi-lab6-ttl-api2-1 Removing
|
||||
Container mtusi-lab6-ttl-api2-1 Removed
|
||||
Container mtusi-lab6-ttl-api1-1 Stopped
|
||||
Container mtusi-lab6-ttl-api1-1 Removing
|
||||
Container mtusi-lab6-ttl-api1-1 Removed
|
||||
Container mtusi-lab6-ttl-broker-1 Stopping
|
||||
Container mtusi-lab6-ttl-broker-1 Stopped
|
||||
Container mtusi-lab6-ttl-broker-1 Removing
|
||||
Container mtusi-lab6-ttl-broker-1 Removed
|
||||
Container mtusi-lab6-ttl-cleanup-1 Stopped
|
||||
Container mtusi-lab6-ttl-cleanup-1 Removing
|
||||
Container mtusi-lab6-ttl-cleanup-1 Removed
|
||||
Container mtusi-lab6-ttl-migrate-1 Stopping
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Stopping
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Stopped
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Removing
|
||||
Container mtusi-lab6-ttl-migrate-1 Stopped
|
||||
Container mtusi-lab6-ttl-migrate-1 Removing
|
||||
Container mtusi-lab6-ttl-migrate-1 Removed
|
||||
Container mtusi-lab6-ttl-db-1 Stopping
|
||||
Container mtusi-lab6-ttl-bootstrap-1 Removed
|
||||
Container mtusi-lab6-ttl-s3-1 Stopping
|
||||
Container mtusi-lab6-ttl-tempo-1 Stopped
|
||||
Container mtusi-lab6-ttl-tempo-1 Removing
|
||||
Container mtusi-lab6-ttl-tempo-1 Removed
|
||||
Container mtusi-lab6-ttl-db-1 Stopped
|
||||
Container mtusi-lab6-ttl-db-1 Removing
|
||||
Container mtusi-lab6-ttl-db-1 Removed
|
||||
Container mtusi-lab6-ttl-s3-1 Stopped
|
||||
Container mtusi-lab6-ttl-s3-1 Removing
|
||||
Container mtusi-lab6-ttl-s3-1 Removed
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Stopping
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Stopped
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Removing
|
||||
Container mtusi-lab6-ttl-s3-storage-1 Removed
|
||||
Network mtusi-lab6-ttl_default Removing
|
||||
Network mtusi-lab6-ttl_storage Removing
|
||||
Network mtusi-lab6-ttl_storage Removed
|
||||
Network mtusi-lab6-ttl_default Removed
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 db
|
||||
Container mtusi-lab6-db-1 Stopping
|
||||
Container mtusi-lab6-db-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start db
|
||||
Container mtusi-lab6-db-1 Starting
|
||||
Container mtusi-lab6-db-1 Started
|
||||
PASS: db outage and recovery
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 s3
|
||||
Container mtusi-lab6-s3-1 Stopping
|
||||
Container mtusi-lab6-s3-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start s3
|
||||
Container mtusi-lab6-s3-storage-1 Waiting
|
||||
Container mtusi-lab6-s3-storage-1 Healthy
|
||||
Container mtusi-lab6-s3-1 Starting
|
||||
Container mtusi-lab6-s3-1 Started
|
||||
PASS: s3 outage and recovery
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 broker
|
||||
Container mtusi-lab6-broker-1 Stopping
|
||||
Container mtusi-lab6-broker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start broker
|
||||
Container mtusi-lab6-broker-1 Starting
|
||||
Container mtusi-lab6-broker-1 Started
|
||||
PASS: broker outage and recovery
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 tests/smoke.py --base-url http://127.0.0.1:8080
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/observability_checks.py telemetry
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
PASS: real API/worker traces and related logs, metrics, privacy and Grafana provisioning
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/observability_checks.py incidents
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 tests/load.py --base-url http://127.0.0.1:8080 --duration 30 --concurrency 4 --output evidence/load.json
|
||||
{
|
||||
"lab": 6,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 30.0,
|
||||
"elapsed_seconds": 30.067,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 9355,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 311.138,
|
||||
"successful_latency_ms": {
|
||||
"p50": 8.816,
|
||||
"p95": 29.705,
|
||||
"p99": 33.384
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 db
|
||||
Container mtusi-lab6-db-1 Stopping
|
||||
Container mtusi-lab6-db-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start db
|
||||
Container mtusi-lab6-db-1 Starting
|
||||
Container mtusi-lab6-db-1 Started
|
||||
PASS: bounded worker and PostgreSQL incidents observed and recovered
|
||||
$ ".\.venv\Scripts\python.exe" -X utf8 scripts/observability_checks.py outage
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 otel-collector
|
||||
Container mtusi-lab6-otel-collector-1 Stopping
|
||||
Container mtusi-lab6-otel-collector-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start otel-collector
|
||||
Container mtusi-lab6-otel-collector-1 Starting
|
||||
Container mtusi-lab6-otel-collector-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 loki
|
||||
Container mtusi-lab6-loki-1 Stopping
|
||||
Container mtusi-lab6-loki-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start loki
|
||||
Container mtusi-lab6-loki-1 Starting
|
||||
Container mtusi-lab6-loki-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env stop --timeout 10 worker
|
||||
Container mtusi-lab6-worker-1 Stopping
|
||||
Container mtusi-lab6-worker-1 Stopped
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env start worker
|
||||
Container mtusi-lab6-worker-1 Starting
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
PASS: real API/worker traces and related logs, metrics, privacy and Grafana provisioning
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env restart --timeout 10 db s3-storage s3 api1 api2 cleanup broker worker lb otel-collector prometheus loki tempo grafana
|
||||
Container mtusi-lab6-grafana-1 Restarting
|
||||
Container mtusi-lab6-cleanup-1 Restarting
|
||||
Container mtusi-lab6-lb-1 Restarting
|
||||
Container mtusi-lab6-s3-storage-1 Restarting
|
||||
Container mtusi-lab6-s3-1 Restarting
|
||||
Container mtusi-lab6-prometheus-1 Restarting
|
||||
Container mtusi-lab6-otel-collector-1 Restarting
|
||||
Container mtusi-lab6-broker-1 Restarting
|
||||
Container mtusi-lab6-worker-1 Restarting
|
||||
Container mtusi-lab6-loki-1 Restarting
|
||||
Container mtusi-lab6-db-1 Restarting
|
||||
Container mtusi-lab6-api1-1 Restarting
|
||||
Container mtusi-lab6-tempo-1 Restarting
|
||||
Container mtusi-lab6-api2-1 Restarting
|
||||
Container mtusi-lab6-otel-collector-1 Started
|
||||
Container mtusi-lab6-lb-1 Started
|
||||
Container mtusi-lab6-db-1 Started
|
||||
Container mtusi-lab6-prometheus-1 Started
|
||||
Container mtusi-lab6-grafana-1 Started
|
||||
Container mtusi-lab6-worker-1 Started
|
||||
Container mtusi-lab6-broker-1 Started
|
||||
Container mtusi-lab6-loki-1 Started
|
||||
Container mtusi-lab6-s3-1 Started
|
||||
Container mtusi-lab6-api1-1 Started
|
||||
Container mtusi-lab6-api2-1 Started
|
||||
Container mtusi-lab6-cleanup-1 Started
|
||||
Container mtusi-lab6-tempo-1 Started
|
||||
Container mtusi-lab6-s3-storage-1 Started
|
||||
$ docker compose --project-name mtusi-lab6 --env-file .env run --rm --no-deps bootstrap
|
||||
Container mtusi-lab6-bootstrap-run-ec0f9e16bc1e Creating
|
||||
Container mtusi-lab6-bootstrap-run-ec0f9e16bc1e Created
|
||||
PASS: private bucket ready; application credentials work
|
||||
PASS: both APIs, PostgreSQL, S3 and LB restarted, volumes preserved
|
||||
PASS: telemetry outages do not break messages/jobs; stored telemetry survives restart
|
||||
PASS: full lab6 verification
|
||||
Reference in New Issue
Block a user