I think Ubuntu does this well. If you listen to Canonical employees explaining their telemetry, it's a one time transmission, it's opt-out, you can inspect the json file that is being sent (inside the installer) and it will help them focus on what issues to address first. I don't see anything wrong with it.