

diagnostic
I think it is useful to send crash reports, but the user should have power over it (see: when macOS generates a crash report, it asks the user if they would like to send it)
engagement measuring
That is your data they are taking to make money off of without your consent, and I consider that malicious. There are ways to do that with consent. See: Steam’s annual hardware survey
It’s not too complicated to build, but it does cost a lot of iron.
I’ve built a system where you dump all your junk in one chest and it gets sorted into your warehouse