News for hackers. Stuff that matters.
Re:Telemetry in Go 1.23 and Beyond by wcdolphin on Tuesday September 03, 2024 @01:55PM (#41437337)
Is this telemetry enabled internally at Google? Enabling it internally would be an interesting litmus test of what is required to make it privacy/security compliant.
Re:Telemetry in Go 1.23 and Beyond by ameliaquining on Tuesday September 03, 2024 @02:36PM (#41437735)
Most code at Google is built in the cloud (https://bazel.build/remote/rbe), with the compiler running in a sandbox that prohibits network access (https://bazel.build/docs/sandboxing). The language server works similarly. So as a technical matter, this kind of telemetry can't work in that environment.

In principle, the Go telemetry could instead be hooked up to a build-system-specific metric reporting system, and the results from that could then be shared with the Go team. A company that uses a Google-style build system could do that kind of integration work if they wanted to contribute their data. But this doesn't make sense for the scenario where the Go compiler is running on some individual dev's machine; there, you want it to upload the data to Google's servers itself.

Re:Telemetry in Go 1.23 and Beyond by jen20 on Tuesday September 03, 2024 @03:10PM (#41438097)
> you want it to upload the data to Google's servers itself

Google wants that. Maybe even the Go developers want that. It's not remotely clear that users want that.

Re:Telemetry in Go 1.23 and Beyond by ameliaquining on Tuesday September 03, 2024 @03:15PM (#41438153)
I mean that that's what's required in order for the telemetry to useful enough to be worth doing at all. If you're against telemetry entirely then of course this isn't going to satisfy you, but then there's no point arguing over the details of how it should work.
Re:Telemetry in Go 1.23 and Beyond by danudey on Tuesday September 03, 2024 @04:54PM (#41439097)
Also a lot of CI is "start a VM/container, run the build, save the artefacts, wipe everything", whereas the telemetry data is only uploaded every however often; most CI systems wouldn't collect data for long enough to actually send it before getting wiped anyway.
Re:Telemetry in Go 1.23 and Beyond by dizhn on Tuesday September 03, 2024 @03:53PM (#41438527)
go telemetry on, to start uploading. go telemetry off to stop logging telemetry data. Isn't this a bit of a weird interface? I didn't check the docs but there must be a way to get to the default setting of log but don't upload.
Re:Telemetry in Go 1.23 and Beyond by danudey on Tuesday September 03, 2024 @04:54PM (#41439100)
`go telemetry local` will gather local data but not upload it.
Re:Telemetry in Go 1.23 and Beyond by dizhn on Wednesday September 04, 2024 @05:12AM (#41443514)
Thank you.
Re:Telemetry in Go 1.23 and Beyond by 0points on Tuesday September 03, 2024 @02:02PM (#41437424)

    go telemetry on
This should have been the solution all along.

Now, those who need can toggle enable it as needed in a simple fashion.

No global OPT-OUT or OPT-IN, no drama!

Re:Telemetry in Go 1.23 and Beyond by 0cf8612b2e1e on Tuesday September 03, 2024 @07:18PM (#41440282)
No environment variable you can pre configure to keep it off either.