-
Notifications
You must be signed in to change notification settings - Fork 868
fix(sdk): crewai tracing provider conflict #3470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.py📄 CodeRabbit inference engine (CLAUDE.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🔇 Additional comments (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important
Looks good to me! 👍
Reviewed everything up to b14aabf in 32 seconds. Click for details.
- Reviewed
12lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/traceloop-sdk/traceloop/sdk/tracing/tracing.py:1034
- Draft comment:
The added line sets CREWAI_DISABLE_TELEMETRY to 'true' to disable telemetry and avoid conflicts. It would be helpful to add an inline comment clarifying that this is intentional behavior to resolve crewai tracing provider conflicts (and that it won’t override an already-set value). - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
Workflow ID: wflow_4P8vCQPE2T1umk9h
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Disabled CrewAI Telemetry (https://docs.crewai.com/en/telemetry#telemetry) that caused warnings on sample apps.
feat(instrumentation): ...orfix(instrumentation): ....Important
Sets
CREWAI_DISABLE_TELEMETRYtotrueininit_crewai_instrumentor()to prevent telemetry conflicts.CREWAI_DISABLE_TELEMETRYenvironment variable totrueininit_crewai_instrumentor()intracing.pyto prevent telemetry conflicts whencrewaipackage is installed.This description was created by
for b14aabf. You can customize this summary. It will automatically update as commits are pushed.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.