Skip to main content
Rootprint accepts OpenTelemetry logs over OTLP HTTP and authenticates them with an ingest API key.

Endpoint

Authentication

In OTEL_EXPORTER_OTLP_LOGS_HEADERS, write the space after Bearer as %20. See Environment variables.

Supported content types

Rootprint accepts application/x-protobuf only. Any other Content-Type returns 415. In Node.js, use @opentelemetry/exporter-logs-otlp-proto. @opentelemetry/exporter-logs-otlp-http sends JSON. Both packages export the same OTLPLogExporter API.

Encoding

Content-Encoding: gzip / x-gzip, zstd, deflate / x-deflate, and identity (or no header) for uncompressed. Any other value is rejected.

Response codes

Retry 429 and 503 after the Retry-After delay.

Environment variables

Index target

The ingest API key sets the target index, not the SDK. A key scoped to another index writes there without an error. To write to a different index, create an ingest API key scoped to that index in Settings → API keys. See Manage indexes.
OTLP logs only land in an index with the OpenTelemetry logs schema, such as the bundled otel-logs-v0_9. Sent to any other index, they get a 200 and are discarded, so nothing arrives and no error surfaces. Scope OTLP ingest keys to an OpenTelemetry logs index, and send custom-schema data to the NDJSON gateway instead.
Spans go to POST /v1/traces with the same key and always land in the span store, not the key’s index. See Traces overview.