Overview
Composo’s tracing module provides automatic instrumentation for LLM calls and manual tracking for multi-agent systems. Capture detailed interaction data to evaluate agent performance and debug complex workflows.ComposoTracer
Initialize automatic instrumentation for LLM provider APIs.init()
Configure tracing for one or more LLM providers.Parameters
Single instrument or list of instruments to enable tracing for.Available Instruments:
Instruments.OPENAI: Trace OpenAI API callsInstruments.ANTHROPIC: Trace Anthropic API callsInstruments.GOOGLE_GENAI: Trace Google Gemini API calls
None, initializes tracing without provider-specific instrumentation.