Alloy 404s OTLP metrics, so each service gets a MeterProvider with a PrometheusMetricReader (same Resource as traces) served by prometheus_client on its own port instead of a FastAPI route: gateway's port 8000 is publicly routed by Traefik, and the audit worker has no HTTP app. Host/port come from OTEL_EXPORTER_PROMETHEUS_HOST/PORT. Setting the provider before the instrumentors also turns on their built-in HTTP and DB pool metrics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
355 B
Plaintext
16 lines
355 B
Plaintext
fastapi==0.115.6
|
|
uvicorn[standard]==0.34.0
|
|
httpx==0.28.1
|
|
sqlalchemy[asyncio]==2.0.36
|
|
asyncpg==0.30.0
|
|
psycopg[binary]==3.2.3
|
|
redis==5.2.1
|
|
pydantic==2.10.4
|
|
pydantic-settings==2.7.1
|
|
python-multipart==0.0.20
|
|
structlog==25.5.0
|
|
opentelemetry-distro==0.66b1
|
|
opentelemetry-exporter-otlp==1.45.1
|
|
opentelemetry-exporter-prometheus==0.66b1
|
|
prometheus-client==0.26.0
|