Documentation
¶
Overview ¶
Package ingest is Studio's OTLP/HTTP receiver (S4.4): POST /v1/traces and /v1/logs, protobuf and JSON, optional gzip, a 16 MiB limit on the decompressed body, and the publish-then-write pipeline —
decode → obsdb.FromOTLP… → publish to the live hub → DB.Write
— so the live tail never waits on the database. A write failure answers 503 so the exporter retries; the retry's duplicate live frames are dropped by the client on (run, kind, pos).
The mapping itself lives in obsdb (FromOTLPTraces/FromOTLPLogs), so the in-process local sink and this receiver produce identical rows. Auth is the caller's: the handlers take an authorized predicate (Studio: the ingest token, or loopback with none configured).
Index ¶
Constants ¶
const MaxBody = 16 << 20
MaxBody is the request-body limit after decompression (S4.4): 16 MiB. Above it the receiver answers 413.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.