Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

DuckDB OpenTelemetry Extension

The DuckDB OpenTelemetry Extension lets you ingest OpenTelemetry data from storage or multiple OpenTelemetry protocol standards (OTAP, OTLP) over gRPC/HTTP into DuckDB.

Do analysis on metrics, logs, or traces or export telemetry to anything DuckDB supports using a few lines of SQL statements: data lakes, databases, parquet, vortex, or object storage systems.

Start using duckdb-otlp

  • Get Started - install the extension, query bundled OTLP files, and POST one log over HTTP.
  • WASM Demo - query OTLP JSON, JSONL, and protobuf samples in your browser.
  • Live Ingest Quickstart - POST one OTLP/HTTP log record and query it from DuckDB.

Query and export telemetry

Set up data sources

Reference

  • API Reference - file readers and live ingest functions.
  • Schema Reference - columns for traces, logs, gauges, sums, histograms, and exponential histograms.
  • Live Ingest Reference - otlp_serve, otlp_flush, otlp_stop, otlp_server_list, HTTP endpoints, auth, buffering, and durability.
  • Error Reference - file reader failures and live-ingest error responses.
  • Performance Reference - file formats, projection, file sizes, materialization, and live ingest notes.

Project internals

  • Architecture - how the file readers, Arrow bridge, schema layer, and HTTP ingest server work.
  • Contributing - build, test, and contribute to the project.

Need help?