Public documentation

Documentation indexRead as Markdown

Ingest reference

Use the endpoint supplied by your Corridora deployment and a credential from Configuration → Keys → Ingest or the browser RUM setup. This reference describes telemetry intake. Query and management APIs use separate credentials and endpoints.

OTLP endpoints

Transport Signal Destination
HTTP Traces POST /v1/traces
HTTP Metrics POST /v1/metrics
HTTP Logs, including operational events POST /v1/logs
gRPC Traces, metrics, logs Standard OTLP Export RPCs, where your deployment exposes gRPC

For HTTP, append the signal path to the ingest base URL. A browser RUM agent or Collector exporter configured with a base endpoint adds the appropriate signal paths itself. A signal-specific exporter endpoint may require the complete path; check that exporter's configuration.

The ingest service supports OTLP/HTTP JSON and protobuf, with optional gzip compression. Use Content-Type: application/json for OTLP JSON or application/x-protobuf for protobuf. Set Content-Encoding: gzip only when the body is actually compressed.

Public gRPC exposure is deployment-specific. Do not assume the HTTP host accepts gRPC on port 4317. The Collector guide uses OTLP/HTTP for its Corridora export.

Authentication

Send one of these HTTP headers:

X-CORRIDORA-KEY: YOUR_INGEST_KEY
Authorization: Bearer YOUR_INGEST_KEY

Treat the key as an opaque token. Do not parse it, assume a fixed prefix, or validate it as a UUID. An ingest key identifies the receiving organization; its label does not assign a service name to incoming records.

Use separate credentials for browser applications and backend producers so their lifecycle can be managed independently. Browser credentials are visible to the browser. Keep query/management API credentials out of browser code. See access and keys.

Request contents

Requests must use the OTLP envelope for their signal:

Signal Root collection Records within each resource/scope
Traces resourceSpans scopeSpans[].spans[]
Logs resourceLogs scopeLogs[].logRecords[]
Metrics resourceMetrics scopeMetrics[].metrics[]

In OTLP JSON, represent nanosecond timestamps as decimal strings. Trace IDs are 32 hexadecimal characters and span IDs are 16 hexadecimal characters. Use nonzero IDs from instrumentation or the sample generator.

Span start/end timestamps must be Unix epoch nanoseconds. Raw process uptime or a monotonic clock value is not an epoch timestamp; use an SDK or convert it against a wall-clock origin. Generate fresh timestamps when verifying delivery so the records fall inside the query and retention window.

For logs, Corridora uses timeUnixNano when present and nonzero, otherwise observedTimeUnixNano. Observation time does not reconstruct the original event time. If both are zero or absent, the timestamp remains Unix epoch zero rather than becoming the current ingest time; that record will fall outside a recent query window. Supply a valid event or observation timestamp.

Set service.name on the resource and use consistent service identity across signals. A JSON object that looks like a log line or span is not a complete OTLP request on its own. The quick start generates complete request bodies.

For browser RUM, the agent adds X-Corridora-Ingest-Source: rum. This enables browser-specific handling. Adding that header to arbitrary backend data does not supply browser session context or make a browser request correlation exist.

Supported metric types

Corridora stores OTLP Gauge, Sum, and Histogram points. Histograms must use explicit bucket boundaries and bucket counts.

OTLP ExponentialHistogram and Summary points are currently unsupported and are omitted during ingestion. A request containing them can still return HTTP 200, including a request whose unsupported points produce no stored metrics. A successful export or an increasing Collector sent counter does not establish that these points were stored.

Configure the producer to export supported types, such as explicit-bucket histograms, or use an appropriate conversion in your collection pipeline before export. Merely forwarding an unsupported type through a Collector does not convert it. Check the emitted OTLP type when diagnosing accepted but missing metrics.

Successful requests

The HTTP trace, log, and metric handlers return 200 on success; the body can be empty. Duplicate batches can also receive 200. A success response is not a count of newly visible records.

Always verify representative data in the UI. Sampling, ingest rules, retention, query scope, and asynchronous processing can affect what you see. A health response from an endpoint proves reachability of that endpoint, not successful telemetry delivery.

HTTP errors

Errors normally include a JSON error field. Edge proxies can return their own responses before a request reaches Corridora.

HTTP status Error What to do
400 invalid_otlp_payload Check the signal envelope, encoding, field types, and IDs.
400 bad_request Check the body and compression; retain the response for diagnosis.
401 missing_ingest_key Configure the authentication header on the exporter making the request.
401 invalid_ingest_key Check the secret, endpoint, and key status. Disabled keys are treated as unavailable.
403 revoked_ingest_key Replace the credential. Revoked keys cannot be re-enabled.
413 payload_too_large Reduce batch size. The response may include limit_bytes.
429 rate_limit_exceeded Reduce request volume and honor Retry-After when present.
429 tenant_queue_full Back off and retry with bounded queues and concurrency.
429 storage_cap_exceeded Resolve storage or plan capacity; repeated retries alone will not fix it.
429 subscription_past_due Ask an administrator to resolve the subscription state.
503 tenant_overloaded Honor Retry-After and retry with backoff.
503 store_failed, rate_limit_check_failed, or service_unavailable Retry transient failures with backoff; escalate persistent failures.

Effective payload and request limits depend on the deployment, organization, and key. Do not treat a server's configured maximum as a recommended batch size. Large individual records may require reducing captured content as well as reducing batch size.

Browser transport

Browser exports must satisfy the application's CSP and the ingest endpoint's CORS policy. Preflight must permit Content-Type, X-CORRIDORA-KEY, and X-Corridora-Ingest-Source. Backend trace propagation is a separate CORS concern: the destination application must permit traceparent where needed.

Use the RUM guide for installation and origin setup.

Compatibility endpoints

POST /v1/otlp accepts traces by default or selects logs/metrics with ?signal=logs or ?signal=metrics. Prefer the standard signal-specific paths in new integrations.

POST /v1/event is a compatibility route for operational events. New application-side event instrumentation should use OTLP logs with an event.name attribute or native LogRecord.eventName field. A non-empty attribute takes precedence over the native field. See operational events.

POST /v1/profiles is a separate, entitlement-gated profile upload route. Its existence does not imply support for standard OTLP profiles or a profiles gRPC service. Profile upload configuration is outside this initial guide.

Return to the documentation index.