You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
Accept OpenTelemetry OTLP traces (HTTP protobuf first, JSON second) and map them onto the existing transactions model — the gateway to non-Sentry platforms.
Why
Current ingest speaks only the Sentry envelope protocol, so only platforms with a Sentry SDK can report. OTLP is the vendor-neutral standard (nginx, Kubernetes, Go, Python, PHP, .NET, Swift, Kotlin, browsers) — it is how SigNoz/HyperDX/OpenObserve win the "all platforms" argument.
GlitchTip shipped OTel support in 6.2 (Jun 2026). TrapFall's counter stays the same: same coverage at ~6MB, SQLite-optional, zero-ops.
Reuse: TrapFall already models spans/transactions (migration 003). OTLP is a translation layer, not a new storage model.
Design (seams)
New endpoint POST /api/otlp/v1/traces behind a cargo feature flag otlp (default OFF — precedent: postgres feature keeps the default build minimal).
Translation module inside trapfall-ingest (new crate only if size justifies): Resource attributes → project, spans → Span/Transaction, status mapping, sampling passthrough.
Translate into the existing digest channel as transaction events — downstream (WebSocket broadcast, retention, APIs) unchanged.
Auth: per-project ingest token header or existing DSN key — decide in the PR (state the choice + rationale).
Acceptance criteria
OTel Collector → TrapFall: traces visible in existing transactions UI + API
Activity