Skip to content
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

🚀 Feature: Enable CrewAI Observability #2339

Open
1 task done
gyliu513 opened this issue Dec 1, 2024 · 6 comments
Open
1 task done

🚀 Feature: Enable CrewAI Observability #2339

gyliu513 opened this issue Dec 1, 2024 · 6 comments

Comments

@gyliu513
Copy link
Contributor

gyliu513 commented Dec 1, 2024

Which component is this feature for?

All Packages

🔖 Feature description

Enable instrumentation for crewai

🎤 Why is this feature needed ?

openllmetry does not work crewai with litellm version, it cannot track the model api calls.

✌️ How do you aim to achieve this?

Implement a crewai instrumentation library.

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!

@nirga
Copy link
Member

nirga commented Dec 1, 2024

Thanks @gyliu513! Are you planning on working on the instrumentation?

@gyliu513
Copy link
Contributor Author

gyliu513 commented Dec 1, 2024

@nirga yes

@gyliu513
Copy link
Contributor Author

gyliu513 commented Dec 5, 2024

@galkleinman are you working for crweai instrumentation now? There is a branch from you at https://github.com/traceloop/openllmetry/tree/gk/crewai-instrumentation

@adharshctr @nirga ^^

@galkleinman
Copy link
Contributor

galkleinman commented Dec 5, 2024

@gyliu513 I started working on it as a weekend project couple of weeks ago. You can take it from here :) and take some inspiration from that branch (it's actually working nice in high-level). Pay attention to the fact CrewAI emitting otel spans themselves as well...

@gyliu513
Copy link
Contributor Author

gyliu513 commented Dec 5, 2024

ok, thanks @galkleinman , we will continue your work here

@adharshctr
Copy link

Hi @galkleinman
I just checkout to your gk/crewai-instrumentation branch and tried building and installing the crewai instrumentation via
nx run opentelemetry-instrumentation-crewai:build
nx run opentelemetry-instrumentation-crewai:install

How to install traceloop sdk and test crew instrumentation from gk/crewai-instrumentation branch?

Can you please share me the steps?

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

No branches or pull requests

4 participants