Class TraceIngestService

java.lang.Object
dev.dokimos.server.service.TraceIngestService

@Service public class TraceIngestService extends Object
Persists OTLP traces and enqueues online evaluations for matching spans. The parse and persist run in one synchronous transaction per request, which is sufficient for v1.

For high ingest volume this is where an async write path would go: the controller would hand the decoded request to a bounded queue and return immediately, a pool of writers would drain it, and backpressure (a full queue) would surface as 429 to the client. The synchronous path is kept for v1 because it gives the caller an exact accepted/rejected count and the simplest failure semantics.