Skip to content

Add CrewAI instrumentation boilerplate#308

Open
venkata-pavani wants to merge 2 commits into
open-telemetry:mainfrom
venkata-pavani:crewai-boilerplate
Open

Add CrewAI instrumentation boilerplate#308
venkata-pavani wants to merge 2 commits into
open-telemetry:mainfrom
venkata-pavani:crewai-boilerplate

Conversation

@venkata-pavani

@venkata-pavani venkata-pavani commented Jul 24, 2026

Copy link
Copy Markdown

Description

This PR only adds the boilerplate. The actual CrewAI operation instrumentation and SDK patching will come in follow-up PRs.

How has this been tested?

CrewAI lifecycle tests: 3 passed
Ruff lint and formatting: passed
README validation: passed
License-header validation: passed
Generated-file check: passed
uv lock --check: passed
CrewAI source type checking: passed

Checklist

See CONTRIBUTING.md
for the style guide, changelog guidance, and more.

  • Followed the style guidelines of this project
  • Changelog updated if the change requires an entry
  • Unit tests added
  • Documentation updated

Note : Added a temporary typecheck-specific dependency override for CrewAI’s OpenTelemetry <1.43 constraint; it can be removed once CrewAI supports the repository’s ~=1.43 line.

Because the typecheck environment installs crewai[instruments], but CrewAI restricts OpenTelemetry below 1.43 while this repository requires ~=1.43; without the override, dependency installation fails before Pyright can run.

@venkata-pavani
venkata-pavani marked this pull request as ready for review July 24, 2026 01:41
@venkata-pavani
venkata-pavani requested a review from a team as a code owner July 24, 2026 01:41
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 24, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-25 12:52:24 UTC.

  • Waiting on: Reviewers
  • Next step: Review the latest changes.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Assisted-by: ChatGPT 5.6
@venkata-pavani

venkata-pavani commented Jul 24, 2026

Copy link
Copy Markdown
Author

Hi All, I added a temporary typecheck-specific dependency override for CrewAI’s OpenTelemetry <1.43 constraint; it can be removed once CrewAI supports the repository’s ~=1.43 line.

Because the typecheck environment installs crewai[instruments], but CrewAI restricts OpenTelemetry below 1.43 while this repository requires ~=1.43; without the override, dependency installation fails before Pyright can run.

All checks gone through successfully now. Please let me know if you have any issues or feedback on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant