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
turning off crew ai telemetry #241
Comments
Oh I see, I think I know what the problem might be! all right working on a fix now, will push to main soon and will cut a new version with it today |
This problem still exists, has it been updated? |
Almost finishing it should go live soon! I'm just wrapping up another feature |
Thanks mate! Great work by the way! :) |
Hi @joaomdmoura, I see you closed this as "Completed", but there's no reference to the changes you made, so what was the solution? Is telemetry now optional, can it be fully disabled? While I understand why it's a useful feature for you, and I'd happily turn it on to help you focus on the most used features, there are some important disadvantages: Some data is more anonymous than other, and sending e. g. which model is used would be problematic if it's a self-made one that's unique to the user. Also mandatory telemetry would preclude using crewAI in certain places and especially here in Europe/Germany a mandatory or on-by-default telemetry is always a detriment to software's acceptance. Of course we could just patch it out, but it would leave a much better impression if crewAI wouldn't be collecting such data by default, or at the very least, allow opting out. Hope you agree with that. Thanks for your consideration! |
Hey @StefanDanielSchwarz, Sorry to not close the loop in this one, I made a few changes in the last version around:
Focus is very much on only anonymous data so we don't get any PII as that is the biggest issues with legislation, so even IPs and such we won't get any near that. Let me give it some thought on next steps for this, this data is key to help us decide next steps so I wanna make sure I'm mindful about how we go about it, as there are a few options like maybe remove even more items from the default telemetry, whatever we decide to do about this in the next versions I'll make sure to share with the community. |
Not sure about other devs or orgs, but it's common practice to include names with the models, so that alone pretty much makes it no longer anonymous – and the collection of that data without prior consent would be problematic. So I hope you'll reconsider and provide either a global opt-out option or a configurable list of which items to send. Actually the latter would be perfect as everyone could see what's sent and choose to remove items they consider confidential – in any case much better than having to adapt the code manually or being prohibited from using crewAI at all. |
I'm still thinking about this, but a good idea someone gave me is to transform the models names into numbers, anonymizing them in a way, so if it is a public model we would be able to point it down, but if it's a proprietary one we would have no clue and not even have the name of it as it would be hashed and we wouldn't have that mapped out on our side given it's no public. Again still thinking more about it and other measures, but this feels like a good initial step, also being more clear on readme and docs on how we are using all the data. |
Hi, Besides that I'm trying to run crewai by using rye and setuptools is not available, therefore the how telemetry modul fails as it cannot import |
Yup the hostname was def a bad choice, already being removed on the next release, working on moving it to https this week + anonymization I mention above |
Agreed. Awesome tool. However, we won't be able to utilize this unless there is an option to disable telemetry fully for compliance reasons. |
@joelr45 did you figure out a way to turn if off? It is definitely a no no for us as well. Realised this quite late given MIT license. |
If anyone wants to try, I've added a |
Dear crew AI crew.
Considering
crewai/telemtry/telemetry.py
: Is it possible to turn this off? It throws a lot of errors in an air-gapped environment, and causes an unnecessary cascade of logging (due to the system sec). Using crewai0.5.5
with ollama0.1.24
(andpython3.10
onUbuntu 22.04
) Here is at least what I get from running your example (using ollama):Obviously I can't post the connected logging that this is triggering. But I won't be able to create a rule for this as of now. So that's why I'm thinking it would be nicer if there's a way to turn this off. Otherwise I'm looking at patching this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: