TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Add opt-in transparent telemetry to Go toolchain

110 pointsby gus_leonelabout 2 years ago

21 comments

bsaulabout 2 years ago
Very relieved that they chose to back off the initial opt-out proposal. It’s always refreshing to see a language listening to its user base. This was the kind of decision that could instantly change the reputation of a PL, for purely political / psychological reasons.
评论 #35975254 未加载
评论 #35980067 未加载
cesarbabout 2 years ago
I think adding telemetry to a compiler goes in the opposite direction of the current &quot;minimal privileges, sandbox all the things&quot; trend.<p>For instance, it would make sense to create a set of selinux rules (or something like it) to make sure that a compiler cannot do anything other than reading its input files (and system headers&#x2F;libraries&#x2F;etc) and writing to its output directory, even if for instance a buffer overflow triggered by a malicious source code file led to running shell code within the compiler. Having to allow access to the network for the telemetry would require weakening these rules.<p>It reminds me of the classic &quot;confused deputy&quot; article (<a href="https:&#x2F;&#x2F;css.csail.mit.edu&#x2F;6.858&#x2F;2015&#x2F;readings&#x2F;confused-deputy.html" rel="nofollow">https:&#x2F;&#x2F;css.csail.mit.edu&#x2F;6.858&#x2F;2015&#x2F;readings&#x2F;confused-deput...</a>), which coincidentally also involved a compiler tracking statistics about its usage.
评论 #35979575 未加载
评论 #35980043 未加载
kklisuraabout 2 years ago
Can someone explain how we managed to have programming languages and toolchain development for half a century without using telemetry, but somehow we need it today in our tools? Their Why Telemetry? blog, just doesn&#x27;t cut it for me [1].<p>[1] <a href="https:&#x2F;&#x2F;research.swtch.com&#x2F;telemetry-intro" rel="nofollow">https:&#x2F;&#x2F;research.swtch.com&#x2F;telemetry-intro</a>
评论 #35976343 未加载
评论 #35975995 未加载
评论 #35976099 未加载
评论 #35977367 未加载
评论 #35978580 未加载
评论 #35976340 未加载
评论 #35975857 未加载
jeroenhdabout 2 years ago
I like that they changed their approach to opt-in. I also like how much effort they&#x27;ve put into making the data collection as anonymous as possible despite being a Google project.<p>Well done, golang team. Other companies with supposedly open languages (looking at you, Microsoft) can learn a thing or two from you.
liampullesabout 2 years ago
Given how happy people seem to be sending large parts of their codebases to LLMs these days, privacy concerns over telemetry logging look quaint in comparison.
评论 #35975843 未加载
评论 #35981134 未加载
laputan_machineabout 2 years ago
Google doing more spying, unsurprising. At least it&#x27;s opt-in (for now)
评论 #35975164 未加载
parabylabout 2 years ago
It&#x27;ll be interesting to see how this is accepted by the community at large. I think explicit opt-in, combined with having the discussion about which metrics to collect in public, would be enough assurance for most that this isn&#x27;t a <i>bad</i> idea - but doesn&#x27;t neccesarily mean that most will opt-in as a result.
评论 #35981159 未加载
TDiblikabout 2 years ago
I might be wrong, but isn&#x27;t dotnet telemetry opt-out by default?
tjpnzabout 2 years ago
I&#x27;m fairly accustomed now to disabling this shite, but if it&#x27;s only going to become more prevalent I could see it creating real toil. Are we also going to need a PiHole-like solution for servers and dev boxes?
评论 #35981553 未加载
varispeedabout 2 years ago
&gt; IP addresses exposed by the HTTP session that uploads the report are not recorded with the reports.<p>Like pinky promise, trust me bro.<p>This whole thing looks delusional. I hope someone is going to create a fork as Golang team has lost their marbles.
评论 #35976535 未加载
评论 #35976797 未加载
carapaceabout 2 years ago
(Maybe I&#x27;m just cranky this morning, so please ignore this comment if it fails to please you, but uh... I think the &quot;real WTF&quot; is getting into a position where you need telemetry at all. It&#x27;s hard to describe what I mean, it seems like most folks who think about these things at all either get it or don&#x27;t, and the two positions are so self-evident to those that hold them that it blinds us to the rationale of the &quot;other side&quot;. In any event, &quot;compiler does not access network&quot; Works For Me. Sorry for the noise.)
评论 #35975451 未加载
评论 #35975786 未加载
bpicoloabout 2 years ago
When reading the title, I was hoping it would mean better abstractions than context for passing around OpenTelemetry info in a golang codebase
评论 #35974914 未加载
jackmott42about 2 years ago
How is telemetry so valuable that language maintainers feel the need to introduce it even when it is so controversial?
评论 #35979815 未加载
Patrickmiabout 2 years ago
Every Problem have a Solution, telemetry is good but abuse of anything is bad, if this follows strictly inline to what they have planned just like what they have been doing, I see no problem. Not everyone must be satisfied
JohnFenabout 2 years ago
Good on them! That&#x27;s how you do telemetry without it becoming spying.
pachicoabout 2 years ago
In general, I have no objections to well explained opt-in anything.
ape4about 2 years ago
Is it in the toolchain or in the applications made with Go?
评论 #35975787 未加载
评论 #35975776 未加载
aatd86about 2 years ago
I will be the one overweighted in the report because I keep typing go mod init and go work init...<p>I don&#x27;t know I never actually remember the commands. :o)
davidwabout 2 years ago
When did logging and reporting become &quot;telemetry&quot;?
评论 #35975429 未加载
评论 #35975113 未加载
评论 #35975121 未加载
评论 #35975582 未加载
评论 #35975083 未加载
omginternetsabout 2 years ago
I was one of the more vocal opponents of opt-in telemetry in the original discussion. One thing that seems clear to me coming out of that exchange is that the Go devs are quite anxious to get good-quality data, and are concerned that not enough people will opt in.<p>I for one plan to enable it, and I hope others will do the same.
wageslave99about 2 years ago
Tangential topic, but if Golang had any way to have constant pointers and frozen variables, the language would be my favorite.
评论 #35975022 未加载
评论 #35975428 未加载