 Container mtusi-lab6-grade3-tools-run-cd12cf604bd2 Creating
 Container mtusi-lab6-grade3-tools-run-cd12cf604bd2 Created
http://prometheus:9090/-/ready after 0.022s
http://loki:3100/ready after 0.007s
http://tempo:3200/ready after 0.011s
http://grafana:3000/api/health after 0.013s
http://otel-collector:13133/ after 0.005s
{"error_status": 401, "evidence": "traffic", "get": 48, "post_status": 201, "seconds": 7.167}
docker stop worker containers=ed7c1dede058
{"accepted": 202, "attachment_id": "13b56006-56c2-4178-a79d-576b7678cb73", "evidence": "worker.stop", "status": "queued"}
docker start worker containers=ed7c1dede058
ready id=13b56006-56c2-4178-a79d-576b7678cb73 wait=2.556s original_sha256=a8c48237481dcfa2b7374064586559f3e7bcdf9c99c5a8f570a72971facf19a8 jpeg=256x256 thumb_sha256=c33e884cadb4a5ae24d1069d30e18f72ee9c4cee084c618b5ce1afc8a76b838f read=api1/api2
{"attachment_id": "13b56006-56c2-4178-a79d-576b7678cb73", "evidence": "worker.recovered", "seconds": 5.45, "status": "ready"}
docker stop worker containers=ed7c1dede058
docker stop s3 containers=28a42a667d04
docker start worker containers=ed7c1dede058
terminal S3 outage after 21.352s
{"attachment_id": "eafac0b1-8919-483e-95a7-da1cf59d0b01", "error_code": "retry_exhausted", "evidence": "s3.outage", "http_status": 503, "request_id": "328fab9a-a6ea-4466-93ef-79933a570099", "seconds": 33.642, "status": "failed"}
docker start s3 worker containers=28a42a667d04,ed7c1dede058
LB ready after 1.831s
ready id=13b56006-56c2-4178-a79d-576b7678cb73 wait=0.048s original_sha256=a8c48237481dcfa2b7374064586559f3e7bcdf9c99c5a8f570a72971facf19a8 jpeg=256x256 thumb_sha256=c33e884cadb4a5ae24d1069d30e18f72ee9c4cee084c618b5ce1afc8a76b838f read=api2/api2
ready id=1c0079e4-a6b3-43e0-8768-dfc30b794965 wait=0.351s original_sha256=a8c48237481dcfa2b7374064586559f3e7bcdf9c99c5a8f570a72971facf19a8 jpeg=256x256 thumb_sha256=c33e884cadb4a5ae24d1069d30e18f72ee9c4cee084c618b5ce1afc8a76b838f read=api2/api1
{"evidence": "s3.recovered", "existing": "13b56006-56c2-4178-a79d-576b7678cb73", "new": "1c0079e4-a6b3-43e0-8768-dfc30b794965", "seconds": 36.433}
api.success after 0.075s
{"evidence": "api.success", "log": ["1795197723160978944", "http.completed", {"code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "INFO", "event": "http.completed", "flags": "1", "method": "POST", "observed_timestamp": "1795197723161052144", "request_id": "39059ac3-538a-4e91-966b-9bed2a28d56c", "route": "/api/v1/chats/{chat_id}/messages", "scope_name": "lab6.events", "service_instance_id": "api2", "service_name": "messenger-api", "service_version": "1.6.0", "severity_number": "9", "severity_text": "INFO", "span_id": "12e525cf65db522c", "status_code": "201", "trace_id": "6da5fd7eed430a7e1312e9c747d67a61"}], "query": "{service_name=\"messenger-api\"} | request_id=\"39059ac3-538a-4e91-966b-9bed2a28d56c\" | event=\"http.completed\"", "tempo": {"duration_ns": 13678001, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "api2"}, "service.name": {"stringValue": "messenger-api"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-api", "span": {"attributes": [{"key": "http.request.method", "value": {"stringValue": "POST"}}, {"key": "http.route", "value": {"stringValue": "/api/v1/chats/{chat_id}/messages"}}, {"key": "http.response.status_code", "value": {"intValue": "201"}}, {"key": "request.id", "value": {"stringValue": "39059ac3-538a-4e91-966b-9bed2a28d56c"}}, {"key": "outcome", "value": {"stringValue": "2xx"}}], "endTimeUnixNano": "1795197723161136844", "kind": "SPAN_KIND_SERVER", "name": "POST /api/v1/chats/{chat_id}/messages", "spanId": "EuUlz2XbUiw=", "startTimeUnixNano": "1795197723147458843", "status": {"code": "STATUS_CODE_OK"}, "traceId": "baX9fu1DCn4TEunHR9Z6YQ=="}, "span_id": "12e525cf65db522c", "trace_id": "6da5fd7eed430a7e1312e9c747d67a61"}}
api.401 after 0.039s
{"evidence": "api.401", "log": ["1795197723167533824", "http.completed", {"code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "WARN", "error_code": "unauthorized", "event": "http.completed", "flags": "1", "method": "GET", "observed_timestamp": "1795197723167619645", "request_id": "a3ee0ed5-501b-494b-9073-aac6d50cb8b7", "route": "/api/v1/users/me", "scope_name": "lab6.events", "service_instance_id": "api1", "service_name": "messenger-api", "service_version": "1.6.0", "severity_number": "13", "severity_text": "WARN", "span_id": "be75aa1d2881f3ac", "status_code": "401", "trace_id": "a9a876c33005c28f2417665ab8b04f8b"}], "query": "{service_name=\"messenger-api\"} | request_id=\"a3ee0ed5-501b-494b-9073-aac6d50cb8b7\" | event=\"http.completed\"", "tempo": {"duration_ns": 2127100, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "api1"}, "service.name": {"stringValue": "messenger-api"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-api", "span": {"attributes": [{"key": "http.request.method", "value": {"stringValue": "GET"}}, {"key": "http.route", "value": {"stringValue": "/api/v1/users/me"}}, {"key": "http.response.status_code", "value": {"intValue": "401"}}, {"key": "request.id", "value": {"stringValue": "a3ee0ed5-501b-494b-9073-aac6d50cb8b7"}}, {"key": "outcome", "value": {"stringValue": "4xx"}}], "endTimeUnixNano": "1795197723167737845", "kind": "SPAN_KIND_SERVER", "name": "GET /api/v1/users/me", "spanId": "vnWqHSiB86w=", "startTimeUnixNano": "1795197723165610745", "status": {"code": "STATUS_CODE_OK"}, "traceId": "qah2wzAFwo8kF2ZauLBPiw=="}, "span_id": "be75aa1d2881f3ac", "trace_id": "a9a876c33005c28f2417665ab8b04f8b"}}
api.503 after 0.026s
{"evidence": "api.503", "log": ["1795197743892084736", "http.completed", {"code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "ERROR", "error_code": "unavailable", "event": "http.completed", "flags": "1", "method": "GET", "observed_timestamp": "1795197743892168357", "request_id": "328fab9a-a6ea-4466-93ef-79933a570099", "route": "/api/v1/attachments/{attachment_id}/content", "scope_name": "lab6.events", "service_instance_id": "api1", "service_name": "messenger-api", "service_version": "1.6.0", "severity_number": "17", "severity_text": "ERROR", "span_id": "f08fdec4a995781c", "status_code": "503", "trace_id": "5a31c6bf418fe31369f700b887b07060"}], "query": "{service_name=\"messenger-api\"} | request_id=\"328fab9a-a6ea-4466-93ef-79933a570099\" | event=\"http.completed\"", "tempo": {"duration_ns": 3325219817, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "api1"}, "service.name": {"stringValue": "messenger-api"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-api", "span": {"attributes": [{"key": "dependency.name", "value": {"stringValue": "s3"}}, {"key": "http.request.method", "value": {"stringValue": "GET"}}, {"key": "http.route", "value": {"stringValue": "/api/v1/attachments/{attachment_id}/content"}}, {"key": "http.response.status_code", "value": {"intValue": "503"}}, {"key": "request.id", "value": {"stringValue": "328fab9a-a6ea-4466-93ef-79933a570099"}}, {"key": "outcome", "value": {"stringValue": "5xx"}}], "endTimeUnixNano": "1795197743892264857", "kind": "SPAN_KIND_SERVER", "name": "GET /api/v1/attachments/{attachment_id}/content", "spanId": "8I/exKmVeBw=", "startTimeUnixNano": "1795197740567045040", "status": {"code": "STATUS_CODE_ERROR"}, "traceId": "WjHGv0GP4xNp9wC4h7BwYA=="}, "span_id": "f08fdec4a995781c", "trace_id": "5a31c6bf418fe31369f700b887b07060"}}
worker.ready after 0.032s
{"evidence": "worker.ready", "log": ["1795197735769973760", "job.outcome", {"attachment_id": "13b56006-56c2-4178-a79d-576b7678cb73", "attempt": "1", "code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "INFO", "event": "job.outcome", "flags": "1", "job_id": "a95438c9-c463-4bb4-8229-90db62bc70b2", "job_type": "attachment.process.v1", "observed_timestamp": "1795197735770037179", "outcome": "ready", "scope_name": "lab6.events", "service_instance_id": "worker", "service_name": "messenger-worker", "service_version": "1.6.0", "severity_number": "9", "severity_text": "INFO", "span_id": "28237be6723a2529", "trace_id": "9e838857cbb81f9149e42b5d85f5aa00"}], "query": "{service_name=\"messenger-worker\"} | attachment_id=\"13b56006-56c2-4178-a79d-576b7678cb73\" | event=\"job.outcome\" | outcome=\"ready\"", "tempo": {"duration_ns": 108465110, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "worker"}, "service.name": {"stringValue": "messenger-worker"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-worker", "span": {"attributes": [{"key": "messaging.operation.type", "value": {"stringValue": "process"}}, {"key": "messaging.system", "value": {"stringValue": "rabbitmq"}}, {"key": "job_id", "value": {"stringValue": "a95438c9-c463-4bb4-8229-90db62bc70b2"}}, {"key": "attachment_id", "value": {"stringValue": "13b56006-56c2-4178-a79d-576b7678cb73"}}, {"key": "attempt", "value": {"intValue": "1"}}, {"key": "job_type", "value": {"stringValue": "attachment.process.v1"}}, {"key": "outcome", "value": {"stringValue": "ready"}}], "endTimeUnixNano": "1795197735770679979", "kind": "SPAN_KIND_CONSUMER", "name": "attachment.process.v1", "spanId": "KCN75nI6JSk=", "startTimeUnixNano": "1795197735662214869", "status": {"code": "STATUS_CODE_OK"}, "traceId": "noOIV8u4H5FJ5CtdhfWqAA=="}, "span_id": "28237be6723a2529", "trace_id": "9e838857cbb81f9149e42b5d85f5aa00"}}
worker.retry after 0.022s
{"evidence": "worker.retry", "log": ["1795197746182868480", "job.outcome", {"attachment_id": "eafac0b1-8919-483e-95a7-da1cf59d0b01", "attempt": "1", "code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "WARN", "event": "job.outcome", "flags": "1", "job_id": "f24949ee-95bc-46da-bfcc-60d194800d81", "job_type": "attachment.process.v1", "observed_timestamp": "1795197746182933273", "outcome": "retry", "reason": "storage_unavailable", "scope_name": "lab6.events", "service_instance_id": "worker", "service_name": "messenger-worker", "service_version": "1.6.0", "severity_number": "13", "severity_text": "WARN", "span_id": "52a381adbc68d29c", "trace_id": "4fb07dc941710c12c60f3366b8024973"}], "query": "{service_name=\"messenger-worker\"} | attachment_id=\"eafac0b1-8919-483e-95a7-da1cf59d0b01\" | event=\"job.outcome\" | outcome=\"retry\"", "tempo": {"duration_ns": 3326689516, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "worker"}, "service.name": {"stringValue": "messenger-worker"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-worker", "span": {"attributes": [{"key": "messaging.operation.type", "value": {"stringValue": "process"}}, {"key": "messaging.system", "value": {"stringValue": "rabbitmq"}}, {"key": "job_id", "value": {"stringValue": "f24949ee-95bc-46da-bfcc-60d194800d81"}}, {"key": "attachment_id", "value": {"stringValue": "eafac0b1-8919-483e-95a7-da1cf59d0b01"}}, {"key": "attempt", "value": {"intValue": "1"}}, {"key": "job_type", "value": {"stringValue": "attachment.process.v1"}}, {"key": "dependency.name", "value": {"stringValue": "s3"}}, {"key": "outcome", "value": {"stringValue": "retry"}}], "endTimeUnixNano": "1795197746185644174", "kind": "SPAN_KIND_CONSUMER", "name": "attachment.process.v1", "spanId": "UqOBrbxo0pw=", "startTimeUnixNano": "1795197742858954658", "status": {"code": "STATUS_CODE_ERROR"}, "traceId": "T7B9yUFxDBLGDzNmuAJJcw=="}, "span_id": "52a381adbc68d29c", "trace_id": "4fb07dc941710c12c60f3366b8024973"}}
worker.failed after 0.022s
{"evidence": "worker.failed", "log": ["1795197771373774848", "job.outcome", {"attachment_id": "eafac0b1-8919-483e-95a7-da1cf59d0b01", "attempt": "5", "code_file_path": "/app/src/telemetry.py", "code_function_name": "event", "code_line_number": "81", "deployment_environment_name": "lab", "detected_level": "WARN", "event": "job.outcome", "flags": "1", "job_id": "f24949ee-95bc-46da-bfcc-60d194800d81", "job_type": "attachment.process.v1", "observed_timestamp": "1795197771373954823", "outcome": "failed", "reason": "retry_exhausted", "scope_name": "lab6.events", "service_instance_id": "worker", "service_name": "messenger-worker", "service_version": "1.6.0", "severity_number": "13", "severity_text": "WARN", "span_id": "38be4efed3e6cbd5", "trace_id": "33febc64757b31ee367caaadf8b840a5"}], "query": "{service_name=\"messenger-worker\"} | attachment_id=\"eafac0b1-8919-483e-95a7-da1cf59d0b01\" | event=\"job.outcome\" | outcome=\"failed\"", "tempo": {"duration_ns": 6282504900, "resource": {"deployment.environment.name": {"stringValue": "lab"}, "service.instance.id": {"stringValue": "worker"}, "service.name": {"stringValue": "messenger-worker"}, "service.version": {"stringValue": "1.6.0"}}, "service": "messenger-worker", "span": {"attributes": [{"key": "messaging.operation.type", "value": {"stringValue": "process"}}, {"key": "messaging.system", "value": {"stringValue": "rabbitmq"}}, {"key": "job_id", "value": {"stringValue": "f24949ee-95bc-46da-bfcc-60d194800d81"}}, {"key": "attachment_id", "value": {"stringValue": "eafac0b1-8919-483e-95a7-da1cf59d0b01"}}, {"key": "attempt", "value": {"intValue": "5"}}, {"key": "job_type", "value": {"stringValue": "attachment.process.v1"}}, {"key": "dependency.name", "value": {"stringValue": "s3"}}, {"key": "outcome", "value": {"stringValue": "failed"}}], "endTimeUnixNano": "1795197771374566823", "flags": 256, "kind": "SPAN_KIND_CONSUMER", "name": "attachment.process.v1", "spanId": "OL5O/tPmy9U=", "startTimeUnixNano": "1795197765092061923", "status": {"code": "STATUS_CODE_ERROR"}, "traceId": "M/68ZHV7Me42fKqt+LhApQ=="}, "span_id": "38be4efed3e6cbd5", "trace_id": "33febc64757b31ee367caaadf8b840a5"}}
{"checked_series": 27, "evidence": "prometheus", "query": "messenger_http_requests_total", "samples": [{"metric": {"__name__": "messenger_http_requests_total", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.865, "7"]}, {"metric": {"__name__": "messenger_http_requests_total", "instance": "api2", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.865, "2"]}, {"metric": {"__name__": "messenger_http_requests_total", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "5xx"}, "value": [1795197774.865, "6"]}]}
{"checked_series": 27, "evidence": "prometheus", "query": "messenger_http_duration_seconds_sum", "samples": [{"metric": {"__name__": "messenger_http_duration_seconds_sum", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.869, "0.1421190100001013"]}, {"metric": {"__name__": "messenger_http_duration_seconds_sum", "instance": "api2", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.869, "0.02769800300006864"]}, {"metric": {"__name__": "messenger_http_duration_seconds_sum", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "5xx"}, "value": [1795197774.869, "19.829921962999947"]}]}
{"checked_series": 27, "evidence": "prometheus", "query": "messenger_http_duration_seconds_count", "samples": [{"metric": {"__name__": "messenger_http_duration_seconds_count", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.872, "7"]}, {"metric": {"__name__": "messenger_http_duration_seconds_count", "instance": "api2", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.872, "2"]}, {"metric": {"__name__": "messenger_http_duration_seconds_count", "instance": "api1", "job": "messenger-api", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "5xx"}, "value": [1795197774.872, "6"]}]}
{"checked_series": 378, "evidence": "prometheus", "query": "messenger_http_duration_seconds_bucket", "samples": [{"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api1", "job": "messenger-api", "le": "0.005", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.876, "0"]}, {"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api1", "job": "messenger-api", "le": "+Inf", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.876, "7"]}, {"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api2", "job": "messenger-api", "le": "0.005", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.876, "0"]}, {"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api2", "job": "messenger-api", "le": "+Inf", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "2xx"}, "value": [1795197774.876, "2"]}, {"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api1", "job": "messenger-api", "le": "0.005", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "5xx"}, "value": [1795197774.876, "0"]}, {"metric": {"__name__": "messenger_http_duration_seconds_bucket", "instance": "api1", "job": "messenger-api", "le": "+Inf", "method": "GET", "route": "/api/v1/attachments/{attachment_id}/content", "status_class": "5xx"}, "value": [1795197774.876, "6"]}]}
{"checked_series": 2, "evidence": "prometheus", "query": "messenger_job_outcomes_total", "samples": [{"metric": {"__name__": "messenger_job_outcomes_total", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "success"}, "value": [1795197774.885, "1"]}, {"metric": {"__name__": "messenger_job_outcomes_total", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "fail"}, "value": [1795197774.885, "1"]}]}
{"checked_series": 2, "evidence": "prometheus", "query": "messenger_job_duration_seconds_sum", "samples": [{"metric": {"__name__": "messenger_job_duration_seconds_sum", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "success"}, "value": [1795197774.888, "0.05200310299994726"]}, {"metric": {"__name__": "messenger_job_duration_seconds_sum", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "fail"}, "value": [1795197774.888, "3.298284464999938"]}]}
{"checked_series": 2, "evidence": "prometheus", "query": "messenger_job_duration_seconds_count", "samples": [{"metric": {"__name__": "messenger_job_duration_seconds_count", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "success"}, "value": [1795197774.891, "1"]}, {"metric": {"__name__": "messenger_job_duration_seconds_count", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "outcome": "fail"}, "value": [1795197774.891, "1"]}]}
{"checked_series": 28, "evidence": "prometheus", "query": "messenger_job_duration_seconds_bucket", "samples": [{"metric": {"__name__": "messenger_job_duration_seconds_bucket", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "le": "0.005", "outcome": "success"}, "value": [1795197774.897, "0"]}, {"metric": {"__name__": "messenger_job_duration_seconds_bucket", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "le": "+Inf", "outcome": "success"}, "value": [1795197774.897, "1"]}, {"metric": {"__name__": "messenger_job_duration_seconds_bucket", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "le": "0.005", "outcome": "fail"}, "value": [1795197774.897, "0"]}, {"metric": {"__name__": "messenger_job_duration_seconds_bucket", "instance": "worker", "job": "messenger-worker", "job_type": "attachment.process.v1", "le": "+Inf", "outcome": "fail"}, "value": [1795197774.897, "1"]}]}
all real counter and histogram series after 0.040s
{"evidence": "grafana.datasource", "health": {"details": {"application": "Prometheus", "features": {"rulerApiEnabled": false}}, "message": "Successfully queried the Prometheus API.", "status": "OK"}, "type": "prometheus", "uid": "lab6-prometheus", "url": "http://prometheus:9090"}
{"evidence": "grafana.datasource", "health": {"message": "Data source successfully connected.", "status": "OK"}, "type": "loki", "uid": "lab6-loki", "url": "http://loki:3100"}
{"evidence": "grafana.datasource", "health": {"body": "ready", "http_status": 200}, "type": "tempo", "uid": "lab6-tempo", "url": "http://tempo:3200"}
{"evidence": "grafana.panel", "frames": 9, "id": 1, "max_value": 1, "numeric_samples": 162, "query": "sum by (method, route) (rate(messenger_http_requests_total{route!~\"/health/.*\"}[1m]))", "title": "API · запросы/с"}
{"evidence": "grafana.panel", "frames": 2, "id": 2, "max_value": 0.12727272727272726, "numeric_samples": 36, "query": "sum by (status_class) (rate(messenger_http_requests_total{status_class=~\"4xx|5xx\",route!~\"/health/.*\"}[1m]))", "title": "API · 4xx и 5xx/с"}
{"evidence": "grafana.panel", "frames": 1, "id": 3, "max_value": 0.12404683022988666, "numeric_samples": 10, "query": "sum(rate(messenger_http_duration_seconds_sum{route!~\"/health/.*\"}[1m])) / sum(rate(messenger_http_duration_seconds_count{route!~\"/health/.*\"}[1m]))", "title": "API · средняя длительность"}
{"evidence": "grafana.panel", "frames": 2, "id": 4, "max_value": 1, "numeric_samples": 36, "query": "sum by (outcome) (messenger_job_outcomes_total)", "title": "Worker · успешные и неуспешные задания"}
{"evidence": "grafana.panel", "frames": 2, "id": 5, "max_value": 3.298284464999938, "numeric_samples": 36, "query": "sum by (outcome) (messenger_job_duration_seconds_sum) / sum by (outcome) (messenger_job_duration_seconds_count)", "title": "Worker · средняя длительность"}
{"evidence": "grafana.panel", "id": 6, "query": "{service_name=~\"messenger-api|messenger-worker\"} | event != \"\"", "rows": 286, "title": "События API и worker"}
{"evidence": "grafana.trace", "span_id": "12e525cf65db522c", "trace_id": "6da5fd7eed430a7e1312e9c747d67a61"}
{"evidence": "grafana.trace", "span_id": "28237be6723a2529", "trace_id": "9e838857cbb81f9149e42b5d85f5aa00"}
{"evidence": "telemetry.scan", "loki_rows": 286, "matches": 0, "metric_samples": 493, "spans_queries": 8}
docker restart prometheus loki tempo grafana containers=0d91c35f7d66,7ee4dcfdd2ee,413ec4b05acc,2c03a3094afe
same samples, logs, spans and dashboard after restart after 7.291s
{"after": {"grafana": "2026-11-20T18:03:01.470866436Z", "loki": "2026-11-20T18:02:58.136864274Z", "prometheus": "2026-11-20T18:02:57.024260103Z", "tempo": "2026-11-20T18:03:00.718016519Z"}, "before": {"grafana": "2026-11-20T17:54:38.151708123Z", "loki": "2026-11-20T17:54:36.557683052Z", "prometheus": "2026-11-20T17:54:35.32262272Z", "tempo": "2026-11-20T17:54:37.383377841Z"}, "dashboard": "lab6-messenger", "evidence": "storage.restart", "historical_query": "sum(messenger_job_outcomes_total{outcome=\"success\"})", "historical_samples": [{"metric": {}, "value": [1795197776.4, "1"]}], "trace_ids": ["6da5fd7eed430a7e1312e9c747d67a61", "9e838857cbb81f9149e42b5d85f5aa00"], "unix_time": 1795197776.399914, "volumes": {"grafana": "mtusi-lab6-grade3_grafana_data", "loki": "mtusi-lab6-grade3_loki_data", "prometheus": "mtusi-lab6-grade3_prometheus_data", "tempo": "mtusi-lab6-grade3_tempo_data"}}
docker stop otel-collector grafana containers=94da2240abad,2c03a3094afe
ready id=dab091ea-16d7-4854-83d2-2bfd2771007e wait=0.365s original_sha256=a8c48237481dcfa2b7374064586559f3e7bcdf9c99c5a8f570a72971facf19a8 jpeg=256x256 thumb_sha256=c33e884cadb4a5ae24d1069d30e18f72ee9c4cee084c618b5ce1afc8a76b838f read=api1/api2
{"authenticated_get": 200, "disabled": ["otel-collector", "grafana"], "evidence": "telemetry.outage", "health": 200, "state": "ready", "uploaded": 202}
docker start otel-collector grafana containers=94da2240abad,2c03a3094afe
PASS: real metrics/logs/traces, provisioned Grafana, incidents and persistent telemetry
