Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Ingest Endpoints

The ingest service (port 9005) receives OpenTelemetry data and publishes it to NATS JetStream.

Ingest OTLP log records.

POST /v1/logs
Authorization: Bearer gck_your_key
Content-Type: application/json

Accepts OTLP LogsData in JSON or Protobuf format. Supports gzip-compressed bodies (Content-Encoding: gzip).

Response: 200 OK on success.

Ingest OTLP metric data points.

POST /v1/metrics
Authorization: Bearer gck_your_key
Content-Type: application/json

Accepts OTLP MetricsData in JSON or Protobuf format.

Response: 200 OK on success.

Ingest OTLP trace spans.

POST /v1/traces
Authorization: Bearer gck_your_key
Content-Type: application/json

Accepts OTLP TracesData in JSON or Protobuf format.

Response: 200 OK on success.

Health check endpoint.

GET /health

Response:

{
"status": "healthy",
"nats": "connected"
}

Returns 503 with Retry-After: 5 header if NATS is unhealthy.

  • All three OTLP endpoints support both JSON and Protobuf content types, auto-detected via Content-Type header
  • Gzip decompression is handled transparently
  • Oversized payloads return 413 Payload Too Large
  • The ingest service is stateless — it publishes to NATS and returns immediately
  • Data flows: Ingest → NATS JetStream → S3 writer (in the Prism Engine)