Skip to content

Graphorin API reference v0.5.0


Graphorin API reference / @graphorin/store-sqlite / / createSqliteSpanExporter

Function: createSqliteSpanExporter()

ts
function createSqliteSpanExporter(conn, options?): TraceExporter;

Defined in: packages/store-sqlite/src/span-store.ts:53

Build a TraceExporter that persists finished spans into the spans table. Each row records the graphorin.session.id attribute (when present) so a session's spans can be read back in order.

Parameters

ParameterType
connSqliteConnection
options{ id?: string; }
options.id?string

Returns

TraceExporter

Stable