Files
mtusi2026lab7/infra/runbooks/telemetry-backend-down.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

1022 B

Telemetry backend down

  1. This is an observability incident, not a business outage. First verify API: curl -fsS http://127.0.0.1:8080/health/ready and a smoke request.
  2. docker compose ps otel-collector prometheus loki tempo grafana.
  3. If Tempo/Loki is down, Collector exporter queues fill; inspect otelcol_exporter_queue_size, otelcol_exporter_send_failed_*, otelcol_processor_refused_*. Queues are bounded by sizer: bytes; the Collector does not grow without limit.
  4. If the Collector is down, Prometheus up{job="otel-collector"}=0; the application continues to accept work. Application OTLP export failures are best-effort and do not affect /health/ready.
  5. Restart the failed backend/collector; confirm up, queue drains, and no new refused records. Lost telemetry is bounded and documented; business data in PostgreSQL/S3 is unaffected.
  6. Do not stop Prometheus while diagnosing another alert: without Prometheus there is no rule evaluation. Use HAProxy stats and container logs as fallback.