Skip to content

feat: add OTLP protobuf ingestion support - #1869

Merged
nikhilsinhaparseable merged 2 commits into
parseablehq:mainfrom
nikhilsinhaparseable:feat/protobuf-ingestion
Nov 22, 2026
Merged

nikhilsinhaparseable merged 2 commits into
parseablehq:mainfrom
nikhilsinhaparseable:feat/protobuf-ingestion

Conversation

@nikhilsinhaparseable

@nikhilsinhaparseable nikhilsinhaparseable commented Nov 22, 2026 •

Copy link
Copy Markdown
Member
  • support OTLP protobuf ingestion for logs, traces, metrics
  • accept header Content-Type: application/x-protobuf for protobuf ingestion
  • reduce payload size, network bandwidth, and decoding overhead compared with JSON

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; the previous field-limit bypass is fixed.

Summary

Adds OTLP protobuf ingestion for logs, metrics, and traces.

  • OTLP endpoints accept protobuf payloads for logs, metrics, and traces.
  • Ingestion routes carry dataset tags into stream setup.
  • The shared write path checks the dataset field-count limit.
  • OTLP request traces show payload size and flattening details.
  • Kinesis and regular event posts keep their source-specific ingestion paths.
  • Invalid stream-name headers return a request error instead of being unwrapped.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    A[OTLP request] --> B{Content-Type}
    B -->|JSON| C[Decode and flatten JSON]
    B -->|Protobuf| D[Check payload size]
    D --> E[Decode and flatten protobuf]
    C --> F[push_logs]
    E --> F
    F --> G[Check dataset field count]
    G --> H[Build and store events]
Loading

Reviews (2) · Last reviewed commit: "refactor ingestion flow" · Reviewed by Greptile

- support OTLP protobuf ingestion for logs, traces, metrics
- accept header `Content-Type: application/x-protobuf` for protobuf ingestion
- reduce payload size, network bandwidth, and decoding overhead compared with JSON
@nitisht
nitisht requested a review from parmesant November 22, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants