Technologies/Langfuse/langfuse.ingestion.processing.duration
LangfuseLangfuseMetric

langfuse.ingestion.processing.duration

Ingestion processing duration
Dimensions:None
Available on:PrometheusPrometheus (1)
Interface Metrics (1)
PrometheusPrometheus
Time taken to process ingestion events in seconds
Dimensions:None

Technical Annotations (17)

Configuration Parameters (3)
LANGFUSE_HOSTrecommended: http://localhost:3000
Endpoint for self-hosted LangFuse instance
timeoutrecommended: 20
SDK timeout in seconds; default 20s, minimum recommended for ingestion
debugrecommended: True
Enable detailed SDK logging to diagnose timeout and connectivity issues
Error Signatures (3)
504 Gateway Time-outhttp status
HTTPSConnectionPool(host='...'): Read timed out. (read timeout=exception
Read timed out. (read timeout=exception
CLI Commands (4)
git clone https://github.com/langfuse/langfuse.gitdiagnostic
docker compose up -dremediation
curl -v -X POST https://langfuse.perso.be/api/public/ingestion -H "Content-Type: application/json" -H "Authorization: Basic <base64_creds>" -d '{"batch": [{"type": "trace-create", "id": "test-trace-001", "timestamp": "2025-07-12T12:00:00.000Z", "body": {"id": "test-trace-001", "timestamp": "2025-07-12T12:00:00.000Z", "name": "curl-test"}}]}'diagnostic
curl -v https://langfuse.perso.be/api/public/ingestiondiagnostic
Technical References (7)
Docker Composecomponentself-hostingconceptspan ingestionscomponentinternal networking stackcomponent/api/public/ingestionendpointnginxcomponentingestion workercomponent
Related Insights (4)
Self-hosted LangFuse requires manual scaling for high trafficinfo
Internal networking delays cause span ingestion timeouts and cascading failurescritical
504 Gateway Timeout on ingestion endpoint while other API endpoints workcritical
SDK timeout too short for ingestion processing delayswarning