ObservabilityConfig
Properties
Section titled “Properties”exporter?
Section titled “exporter?”optional exporter?: "json" | "console" | ((trace) => Promise<void>);Where to send the final SessionTrace. Default: console.
includeContent?
Section titled “includeContent?”optional includeContent?: boolean;Include message text in span events (PII risk). Default: false.
metrics?
Section titled “metrics?”optional metrics?: Metrics;Optional metrics service for timings alongside spans.
outputPath?
Section titled “outputPath?”optional outputPath?: string;Output file for json exporter. Default: ./.kuralle-traces/session-<id>.json
serviceName?
Section titled “serviceName?”optional serviceName?: string;Service name stored on spans.
traceStream?
Section titled “traceStream?”optional traceStream?: (event) => void;Optional live trace stream (e.g. Kuralle Studio WebSocket). Fire-and-forget; keep handlers synchronous or schedule async work without blocking the harness.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void