- TS: pino + pino-http; every HTTP request log includes traceId from W3C traceparent header (generated if absent); forwarded to ml/serving on all /score, /generate, /reward, and /api/ml proxy calls - Python: structlog JSON; FastAPI middleware binds trace_id via contextvars so every log line within a request carries it - Sentry: optional SENTRY_DSN init in both runtimes (no-op if unset) - Replace all console.* calls across services/api with pino logger - Update tests to spy on logger instead of console Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
157 B
Plaintext
10 lines
157 B
Plaintext
fastapi==0.115.6
|
|
uvicorn[standard]==0.32.1
|
|
pydantic==2.10.4
|
|
numpy>=1.26.0
|
|
httpx>=0.27.0
|
|
anthropic>=0.40.0
|
|
nats-py>=2.9.0
|
|
structlog>=24.1.0
|
|
sentry-sdk>=2.0.0
|