Turn it on
Set theotlp.ingest_enabled runtime setting to true (Settings, Runtime, Observability, or levelrail-cli settings runtime set otlp.ingest_enabled true). Tracing must be enabled for the app, because the same per-app bearer key authorizes the request. While the setting is off, both endpoints answer 501 with the error code feature_disabled. A missing or wrong key answers 401.
Endpoints
The body is OTLP protobuf (
application/x-protobuf) or JSON (application/json), optionally gzip compressed with Content-Encoding: gzip. Any other content type answers 415.
Limits
All three apply live and are runtime settings. A request over the body or record limit is rejected whole with413.
What is mapped
- Logs: the record body becomes the log line for the app. Records with severity error or higher (17 and up) are stored on the error stream, the rest on stdout. Empty bodies are skipped.
- Metrics: gauges, sums and histograms are stored as
otlp.<name>. A histogram becomesotlp.<name>.countandotlp.<name>.sum. - Attributes are dropped. Two series that differ only by attributes share one name, and the later point wins.
Not supported
- gRPC. Use
http/protobuforhttp/json. - zstd compression. Only gzip is decoded.
- Exponential histograms and summaries. They are ignored.
- Attributes as separate series or labels.
Send a test
200 with {} means it was stored.