API reference
TelemetrySettings
Telemetry configuration for an agent. When `enabled: true`, the SDK emits
TelemetrySettings
Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.
Telemetry configuration for an agent. When enabled: true, the SDK emits
OpenTelemetry spans for agent.send, llm.call, tool.call, and
memory.search. See ADR D34.
Privacy: content (prompts, responses, tool args) is OMITTED by default —
only timing/counts/IDs are recorded. Opt in via includeContent: true
to add prompt/response/args events to the spans (consumer's
responsibility to sanitize PII).
@opentelemetry/api is an OPTIONAL peer dependency. Without it
installed, telemetry is a no-op even when enabled: true.
Signature
interface TelemetrySettings { /* ... */ }Kind
interface