Skip to main content

Observability

Where this session’s traces, metrics and logs go. Each stream is configured on its own, and a stream left null follows the runtime’s own settings rather than being switched off.

Options

string
Level the agent process logs at. One of DEBUG, INFO, WARNING, ERROR, CRITICAL.
Exporter | null
The agent process’s log records.
Exporter | null
Latency and usage counters.
Exporter | null
Per-turn spans — what the model was asked, what each provider took.

Exporter

Where one stream of telemetry is shipped.

Options

boolean
Set false to turn this stream off while leaving the rest of the configuration in place.
Record<string, string>
Sent with each export — the collector’s auth header, usually.
string | null
An OTLP endpoint. null sends it wherever the runtime is configured to send its own.