Files
awoooi/apps/api/requirements.txt
OG T 9bff46a1b0 feat: integrate Sentry + fix CI/CD issues
Sentry Integration (補強 SignOz):
- Add @sentry/nextjs for frontend error tracking + session replay
- Add sentry-sdk[fastapi] for backend error tracking
- Create sentry.client/server/edge.config.ts
- Integrate with next.config.js + instrumentation.ts
- Add Sentry exception capture in FastAPI error handler
- Create deployment scripts for Self-Hosted @ 192.168.0.110

CI/CD Fixes:
- Fix F821 Undefined name 'Field' in incidents.py
- Add NEXT_PUBLIC_API_URL env var to CI build step
- Add build-arg to Docker build verification

E2E Test Improvements:
- Fix strict mode violations in dashboard-acceptance tests
- Add timeout increase for Phase 4 demo tests
- Make tests more resilient to UI variations

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 15:19:52 +08:00

44 lines
939 B
Plaintext

# AWOOOI API Dependencies
# =======================
# CTO-101: BFF Gateway 骨架
# 版本: 2026-03-20
# Core Framework
fastapi>=0.109.0
uvicorn[standard]>=0.27.0
starlette>=0.35.0
# Configuration & Validation
pydantic>=2.5.0
pydantic-settings>=2.1.0
# Async HTTP Client
httpx>=0.26.0
# Database
asyncpg>=0.29.0
redis>=5.0.0
# Logging
structlog>=24.1.0
# SSE Support
sse-starlette>=1.8.0
# ==========================================================================
# OpenTelemetry (SigNoz Integration)
# P0 基礎設施: 可觀測性鐵律
# ==========================================================================
opentelemetry-api>=1.20.0
opentelemetry-sdk>=1.20.0
opentelemetry-exporter-otlp>=1.20.0
opentelemetry-instrumentation-fastapi>=0.41b0
opentelemetry-instrumentation-httpx>=0.41b0
opentelemetry-instrumentation-logging>=0.41b0
# Development
pytest>=7.4.0
pytest-asyncio>=0.23.0
ruff>=0.1.0
sentry-sdk[fastapi]>=2.0.0