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.
SubscribeRelated
OtelSpanProcessorCrewAIInstrumentorOpenAIInstrumentorCrewAIOpenTelemetry