maple-agent-tracing-litellm - Trace LiteLLM agents with Maple OpenTelemetry
Configures Maple OpenTelemetry tracing for LiteLLM agents, including model calls, agent runs, tool executions, sessions, tokens, and cost.
Tags
Updated: 2026-10-06Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Detect LiteLLM integration paths
- Configure Maple OTLP export
- Instrument agent runs
- Instrument tool executions
- Propagate session identifiers
- Trace model and tool spans
- Configure sync fallback
Inputs
- LiteLLM application or proxy code
- Conversation identifier source
- Maple ingest region
- Maple ingestion key
- Agent and tool definitions
- Existing OpenTelemetry configuration
Outputs
- Exported Maple telemetry
- Maple agent sessions
- Model and tool spans
- Updated tracing configuration
- Configuration warnings
Requirements
- Python environment
- LiteLLM 1.103 or later
- Compatible OpenTelemetry packages
- Async LiteLLM calls for v2 tracing
- Maple ingestion credentials
- Network access to Maple ingest
- Permission to configure the LiteLLM proxy
