docker-library / golang

Docker Official Image packaging for golang
https://golang.org
BSD 3-Clause "New" or "Revised" License
1.48k stars 512 forks source link

README should mention about Go telemetry #496

Open dolmen opened 11 months ago

dolmen commented 11 months ago

README should mention if Go telemetry is enabled by default or not, and tell commands for how to enable telemetry if one wants it.

tianon commented 11 months ago

Whatever the defaults for the upstream toolchain are, that's what our settings are (except for really exceptional cases like https://github.com/docker-library/golang/issues/472, which we generally try very hard to avoid).

dolmen commented 11 months ago

What about telling how to enable telemetry and its upload? (If ever telemetry results on short lived containers is useful to the Go team)

tianon commented 2 months ago

Now that telemetry has shipped in Go 1.23 (local-only by default, only submits to upstream with opt-in via explicit invocation of go telemetry on), I've been following the discussion around easier ways to disable telemetry completely (https://github.com/golang/go/issues/68960), and it sounds like easier ways to enable telemetry are very firmly in the Not Planned category, possibly even as far as Not Possible (given the design of the telemetry reporting feature; https://github.com/golang/go/issues/68960#issuecomment-2310575190).