read_otel_sqlite: Read OpenTelemetry SQLite database

View source: R/telemetry_ingest.R

read_otel_sqliteR Documentation

Read OpenTelemetry SQLite database

Description

Reads OpenTelemetry span data from SQLite databases that store OTEL traces. Looks for standard OTEL table names (spans, span_events, span_attributes) and joins them to reconstruct the span structure before converting to bidux events.

Usage

read_otel_sqlite(source)

Arguments

source

SQLite database path or DBI connection object

Value

Data frame with bidux event schema (converted from spans)

Examples

## Not run: 
events <- read_otel_sqlite("otel_traces.db")
names(events)
# [1] "timestamp" "session_id" "event_type" "input_id" "value" "error_message"
# [7] "output_id" "navigation_id"

## End(Not run)

bidux documentation built on Feb. 28, 2026, 1:06 a.m.