Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Fiddler supports native OpenTelemetry integration through the OTLP (OpenTelemetry Protocol) standard, enabling you to monitor custom AI agents and multi-framework environments with full observability. This integration provides a vendor-neutral approach to collecting telemetry data from your agentic applications, allowing you to instrument agents built with any framework or custom implementation. The OpenTelemetry integration maps your agent’s span attributes to Fiddler’s semantic conventions, capturing LLM calls, tool executions, agent chains, and custom business metrics. This approach is ideal for teams running multiple agentic frameworks or building custom agent architectures that require unified monitoring across diverse technologies. With OpenTelemetry, you maintain complete control over your instrumentation while benefiting from Fiddler’s advanced analytics, trace visualization, cost tracking, and performance monitoring capabilities.When to Use OpenTelemetry Integration
Use OpenTelemetry integration when:- Multi-framework environments: You’re using multiple agent frameworks and need unified observability
- Custom agent architectures: Your agent framework doesn’t have a dedicated Fiddler SDK
- Advanced instrumentation control: You need fine-grained control over trace attributes and sampling
- Standards-based approach: You want a vendor-neutral telemetry solution using industry standards
- Existing OpenTelemetry setup: You’re already using OpenTelemetry and want to route traces to Fiddler
When to Use Fiddler SDKs InsteadFor specific frameworks with dedicated SDKs, we recommend using the framework-specific integration for easier setup and automatic instrumentation:
- LangGraph and LangChain → Use Fiddler LangGraph SDK
- Strands Agents → Use Strands Agents SDK
Quick Links
Getting Started
- OpenTelemetry Quick Start Guide - Step-by-step guide to integrate OpenTelemetry with Fiddler (~10-15 minutes)
- Advanced OpenTelemetry Notebook - Comprehensive working examples with production patterns (Open in Colab)
Related Documentation
- Getting Started: Agentic Observability - Overview of agentic observability concepts
- Agentic AI Integrations - Compare integration options for different frameworks
- Fiddler LangGraph SDK - Alternative for LangGraph/LangChain users
- Strands Agents SDK - Alternative for Strands agent users
Supported Features
OpenTelemetry integration with Fiddler supports:| Feature | Support | Description |
|---|---|---|
| LLM Tracing | ✅ Full | Track LLM calls with prompts, responses, and token usage |
| Tool Execution | ✅ Full | Monitor tool calls with inputs and outputs |
| Agent Chains | ✅ Full | Visualize complex agent workflows and decision flows |
| Custom Attributes | ✅ Full | Add business context with user-defined attributes |
| Conversation Tracking | ✅ Full | Track multi-turn conversations across sessions |
| Token Cost Analysis | ✅ Full | Monitor LLM API costs through token tracking |
| Performance Metrics | ✅ Full | Latency, throughput, and error rate tracking |
| Sampling | ✅ Full | Configure trace sampling for high-volume applications |
| Batch Processing | ✅ Full | Optimize network usage with batched exports |
| Compression | ✅ Full | Reduce data transmission with gzip compression |
Integration Overview
Architecture
Required Setup
- Environment Configuration
- Set
OTEL_EXPORTER_OTLP_ENDPOINTto your Fiddler instance URL - Configure
OTEL_EXPORTER_OTLP_HEADERSwith authentication and application ID - Set
OTEL_RESOURCE_ATTRIBUTESwith your application UUID
- Set
- OpenTelemetry Initialization
- Install OpenTelemetry packages
- Initialize
TracerProviderwith proper configuration - Configure
OTLPSpanExporterfor Fiddler endpoint - Add
BatchSpanProcessorfor efficient transmission
- Span Instrumentation
- Create spans for agent operations (chains, LLM calls, tools)
- Map attributes to Fiddler semantic conventions
- Add custom business context as needed
Attribute Mapping
Fiddler requires specific attributes to properly process and visualize your traces:Required Attributes
Resource Level:application.id- Your Fiddler application UUID (UUID4 format)
fiddler.span.type- Type of operation:chain,llm,tool, oragent
Optional Attributes
- Agent:
gen_ai.agent.name- Name of your AI agent. If provided, set on every span in the trace so all spans are attributed to the correct agent. - Agent:
gen_ai.agent.id- Unique identifier for the agent. If provided, set on every span in the trace alongsidegen_ai.agent.name. - LLM Spans: Model, system prompt, user input, output, token usage
- Tool Spans: Tool name, input JSON, output JSON
- Conversation:
gen_ai.conversation.idfor session tracking - Custom:
fiddler.session.user.*andfiddler.span.user.*for business context
Getting Started
Ready to integrate OpenTelemetry with Fiddler?- Follow the Quick Start Guide - Complete setup in 10-15 minutes
- Explore the Advanced Notebook - Learn production patterns
- Review the attribute reference - Understand required and optional attributes
- Test your integration - Verify traces appear in Fiddler dashboard