Skip to main content
npm

Overview

The @fiddler-ai/otel package provides OpenTelemetry instrumentation for Fiddler AI observability. Use it to automatically capture LLM traces, conversation context, and span attributes from your TypeScript applications.
npm install @fiddler-ai/otel
import { FiddlerClient } from '@fiddler-ai/otel';

Components

Client

Client initialization. FiddlerClient creates an isolated OpenTelemetry tracer provider that exports traces to Fiddler over OTLP HTTP without registering globally, so it does not interfere with other instrumentation in the same process.

Internal

Configuration and attribute constants. FiddlerClientConfig is the client’s options object; SpanAttributes and SpanType enumerate the attribute keys and span-type values Fiddler recognizes.

Spans

Manual span helpers. FiddlerAgentSpan, FiddlerGenerationSpan, and FiddlerToolSpan carry semantic conventions for agent steps, LLM calls, and tool invocations; FiddlerSpan is the base, with StartSpanOptions and TokenUsage as supporting types.