Files
mtusi2026lab7/evidence/lab6/README.md
T
Vladislav Kunetskiy 3d216fbd50 База lab7: контракт 1.7.0 и реализация lab1–lab6
Перенесены cmd/internal/config, compose.yaml, Dockerfile, скрипты, student-tests и evidence из mtusi-messenger (master, lab6). Skeleton lab7 (openapi/infrastructure 1.7.0, trust-matrix.md, security/THREAT_MODEL.md, infra/openbao, tests/security.py) сохранён; make test-security добавлен в Makefile.
2026-11-09 13:03:49 +03:00

31 lines
1.9 KiB
Markdown

# Lab6 evidence
- `smoke.txt` — `make test` with the telemetry profile running.
- `telemetry.txt` — `make test-observability`: Prometheus/Loki/Tempo/Grafana
queries, route-label validation, forbidden-sentinel search.
- `unit-test.txt` — `make unit-test` (`go test -race -shuffle=on`).
- `stand.txt` — `docker compose --profile telemetry ps`.
- `metrics.txt` — actual sample counts from Prometheus for the required signal set.
- `queries/promql.txt` — PromQL used by dashboards and alerts.
- `tempo-search.json`, `trace-pipeline.json` — raw Tempo responses for an
upload trace; `trace-retry.txt` — attempt=2 trace after a transient fault;
traces include API, relay `job.publish`, worker `job.process`, S3 and DB
child spans.
- Track 2 evidence is generated by `scripts/lab6_track2_full.py`; raw CSV/JSON
belong in `track2/`. `/health/*` is routed to a separate HAProxy backend and
is excluded from `api_backend` SLI. TTR SLI uses two sources: good events
from the time-to-ready histogram bucket `le="30.0"` and bad events from the
separate `messenger_jobs_ttr_missed_total` counter.
- Полный live-прогон Track 2 выполнен 2026-11-06; результаты — в
`track2/full/` и `track2/ttd-ttr.md`. Старые короткие прогоны не
используются как доказательства текущего результата.
- `storage-down.txt` / `storage-down-series.json` — telemetry-storage outage
observations over time (API continues; bounded Collector queues).
- `db-down.txt` — PostgreSQL outage: API/LB responds 5xx, never 401.
- `regression/` is for the lab5 regression commands (`test-queue`,
`test-faults`, `test-attachments`, `test-presign`, `test-idempotency`,
`test-lb-readiness`, persistence/failover).
No tokens, signed URLs, message bodies or images are stored here. The
`scripts/check_evidence.py` scanner is part of `make test-observability`.