Learn R Programming

bidux (version 0.4.0)

read_otel_sqlite: 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)

Value

Data frame with bidux event schema (converted from spans)

Arguments

source

SQLite database path or DBI connection object

Examples

Run this code
if (FALSE) {
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"
}

Run the code above in your browser using DataLab