feat(otel): integrate OpenTelemetry for Langfuse monitoring and add configuration settings

This commit is contained in:
Davidson Gomes
2025-05-12 17:12:39 -03:00
parent f319b89806
commit ab1f528a34
6 changed files with 295 additions and 207 deletions

View File

@@ -39,6 +39,10 @@ SENDGRID_API_KEY="your-sendgrid-api-key"
EMAIL_FROM="noreply@yourdomain.com"
APP_URL="https://yourdomain.com"
LANGFUSE_PUBLIC_KEY="your-langfuse-public-key"
LANGFUSE_SECRET_KEY="your-langfuse-secret-key"
OTEL_EXPORTER_OTLP_ENDPOINT="https://cloud.langfuse.com/api/public/otel"
# Server settings
HOST="0.0.0.0"
PORT=8000