Skip to content

OTLP Ingest Reference

Oriel accepts OpenTelemetry Protocol data over gRPC and HTTP.

ProtocolDefault address
OTLP gRPC:4317
OTLP HTTP:4318

When ingest.http_on_server = true and Oriel runs with --role=all, OTLP/HTTP is also accepted on the API/UI listener (server.http_addr) at /v1/traces, /v1/logs, and /v1/metrics. The dedicated :4318 listener remains available by default for existing exporters.

Use bearer auth:

Authorization: Bearer orl_...

Token secrets use:

orl_ + 26 Crockford base32 symbols + 6 Crockford CRC symbols

The server stores only sha256(secret). The token secret is shown once at creation.

FieldMeaning
WorkspaceFixed by the token.
ProjectRequired for ingest tokens.
EnvironmentOptional. If set, it pins all telemetry for the token.
SignalsSubset of traces, logs, metrics; defaults to all.
ExpiryOptional.
  1. Token-pinned environment wins.
  2. deployment.environment.name is used when the token does not pin an environment.
  3. Legacy deployment.environment is used as a fallback.
  4. Existing environment rows are used.
  5. New environments are auto-registered when the project allows it and the cap has not been reached.
  6. Otherwise the resource block is rejected.
LimitDefault
Attributes per row128
Attribute key length256 bytes
Attribute string value length8192 bytes
Log body length262144 bytes
Span events per span128
Span links per span64
Span/log rows per request200000
Active metric series hard cap2000000 per project per 24h estimate

Clamping produces ORL-1009 warnings. Oversized request row count produces ORL-1004.

CodeMeaning
ORL-1001Missing or invalid token.
ORL-1002Token revoked or expired.
ORL-1003Token does not permit the signal.
ORL-1005Environment could not be resolved.
ORL-1006Environment cap exceeded.
ORL-1010Metric series cap exceeded.
ORL-1011Timestamp outside acceptance window.
ORL-1012Ingest is shedding load; retry later.