Interface: TracingHooksConfig

Defined in: tracing/types.ts:336

Configuration for built-in tracing hooks

Properties

attributeMapper?

optional attributeMapper?: (phase, data) => SpanAttributes;

Defined in: tracing/types.ts:348

Custom attribute mapper

Parameters

Parameter Type
phase "llm" | "tool" | "iteration"
data Record<string, unknown>

Returns

SpanAttributes

includeIO?

optional includeIO?: boolean;

Defined in: tracing/types.ts:344

Include input/output in attributes (may be verbose)

traceIterations?

optional traceIterations?: boolean;

Defined in: tracing/types.ts:342

Trace iterations

traceLLM?

optional traceLLM?: boolean;

Defined in: tracing/types.ts:338

Trace LLM calls

traceTools?

optional traceTools?: boolean;

Defined in: tracing/types.ts:340

Trace tool executions

truncateAt?

optional truncateAt?: number;

Defined in: tracing/types.ts:346

Truncate long values at this length