forked from mtusi2026/mtusi2026lab6
lab6: Collector, Prometheus/Loki/Tempo/Grafana, alerts, incidents, track 1 (cost of observability)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# lab6 business start WITHOUT Collector/backends: 2026-11-09T19:43:18Z
|
||||
# Finding: DNS lookup of the missing 'otel-collector' took 5-7 s per attempt and starved the libuv pool (S3/PG timeouts, 503). Fix: UV_THREADPOOL_SIZE=32 + dns_opt timeout:1 attempts:1 on api/worker. Output below is after the fix.
|
||||
api running healthy
|
||||
api running healthy
|
||||
broker running healthy
|
||||
haproxy running
|
||||
postgres running healthy
|
||||
redis running healthy
|
||||
s3 running healthy
|
||||
worker running healthy
|
||||
stand is ready (http://localhost:8080)
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
--- exporter errors (expected, collector absent):
|
||||
api-2 | {"timestamp":"2026-11-09T19:43:09.416Z","severity":"ERROR","service.name":"messenger-api","event":"otel.sdk","message":"{\"stack\":\"Error: getaddrinfo EAI_AGAIN otel-collector\\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:121:26)\",\"message\":\"getaddrinfo EAI_AGAIN ot
|
||||
api-1 | {"timestamp":"2026-11-09T19:43:09.416Z","severity":"ERROR","service.name":"messenger-api","event":"otel.sdk","message":"{\"stack\":\"Error: getaddrinfo EAI_AGAIN otel-collector\\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:121:26)\",\"message\":\"getaddrinfo EAI_AGAIN ot
|
||||
Reference in New Issue
Block a user