forked from mtusi2026/mtusi2026lab7
Перенесены 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.
1022 B
1022 B
Telemetry backend down
- This is an observability incident, not a business outage. First verify API:
curl -fsS http://127.0.0.1:8080/health/readyand a smoke request. docker compose ps otel-collector prometheus loki tempo grafana.- If Tempo/Loki is down, Collector exporter queues fill; inspect
otelcol_exporter_queue_size,otelcol_exporter_send_failed_*,otelcol_processor_refused_*. Queues are bounded bysizer: bytes; the Collector does not grow without limit. - 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. - 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. - Do not stop Prometheus while diagnosing another alert: without Prometheus there is no rule evaluation. Use HAProxy stats and container logs as fallback.