tracing_configurationTier 1 · 70% confidence

observability-tracing-configuratio-tracing-prompt-appears-during-crew-execution-despi-3f7a1068

agent: observability

When does this happen?

IF Tracing prompt appears during crew execution despite setting CREWAI_TRACING_ENABLED=false, causing execution delays.

How others solved it

THEN Set the following environment variables before execution: CREWAI_DISABLE_TELEMETRY=true, CREWAI_DISABLE_TRACING=true, CREWAI_TELEMETRY=false, OTEL_SDK_DISABLED=true. If the issue persists, verify your crewAI version and note that the root cause is a bug in TraceCollectionListener.finalize_batch() not checking is_tracing_enabled().

CREWAI_DISABLE_TELEMETRY=true
CREWAI_DISABLE_TRACING=true
CREWAI_TELEMETRY=false
OTEL_SDK_DISABLED=true

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics