Реализовать observability для лабораторной 6

This commit is contained in:
2026-11-20 17:55:23 +03:00
parent 58f3d4c457
commit 9e6428de05
50 changed files with 3573 additions and 98 deletions
+27
View File
@@ -0,0 +1,27 @@
# Результаты проверок 2026-11-17
Стенд: локальный Docker Compose, лимиты CPU/RAM из `compose.yaml`, synthetic data.
```text
make test
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
make test-observability
PASS: dashboard, alerts, metrics, correlated logs and cross-process trace
make test-alert-worker
{"scenario":"worker_outage","firing_state":"Alerting","detect_seconds":61.8,
"resolved_state":"Normal","recover_seconds":15.5,"result":"PASS"}
make test-alert-database
{"scenario":"database_outage","firing_state":"Alerting","detect_seconds":72.0,
"resolved_state":"Normal","recover_seconds":118.2,"result":"PASS"}
make test-telemetry-outage
{"scenario":"telemetry_backend_outage","business_smoke":"PASS",
"collector":"running","duration_seconds":12.7,"result":"PASS"}
```
Worker incident использовал attachment `a88a0cfd-bbda-4151-8584-de27154a8dcb`.
Это идентификатор только локальных синтетических данных; credentials/tokens/body в
доказательство не сохранялись.
+17
View File
@@ -0,0 +1,17 @@
{
"lab": 6,
"workload": "closed-loop POST messages; no automatic retries",
"requested_duration_seconds": 120.0,
"elapsed_seconds": 120.084,
"concurrency": 8,
"successful_requests": 25638,
"failed_requests": 0,
"error_ratio": 0.0,
"successful_rps": 213.501,
"successful_latency_ms": {
"p50": 17.158,
"p95": 99.774,
"p99": 171.24
},
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
}