Skip to content
masterclass Buddy

AI Agents · Class

Crew

Use OpenTelemetry instrumentation to send CrewAI workflow and OpenAI model traces to LangSmith. Configure a tracer provider with OtelSpanProcessor, then instrument both libraries.

Last updated

Syntax

CrewAIInstrumentor().instrument(tracer_provider=tracer_provider)
OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • OtelSpanProcessor
  • CrewAIInstrumentor
  • OpenAIInstrumentor
  • CrewAI
  • OpenTelemetry

Source: Trace CrewAI agents. Checked 2026-11-03.