From: Michael Matloob Date: Fri, 24 May 2024 16:01:36 +0000 (-0400) Subject: cmd/go: add release notes for go telemetry, and telemetry env values X-Git-Tag: go1.23rc1~128 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8e2b3ac705af8548139209d74c686c14864ff7e7;p=gostls13.git cmd/go: add release notes for go telemetry, and telemetry env values This change fills in the release notes for the go telemetry command as well as the unsettable GOTELEMETRY and GOTELEMETRYDIR go env values. For #67111 Change-Id: Id6943f79f7ab2457787e1639d8d5fb1c1e2649dc Reviewed-on: https://go-review.googlesource.com/c/go/+/587923 Reviewed-by: Dmitri Shuralyov Reviewed-by: Sam Thanawalla LUCI-TryBot-Result: Go LUCI --- diff --git a/doc/next/3-tools.md b/doc/next/3-tools.md index ae94c9bcf7..e73e8a73a3 100644 --- a/doc/next/3-tools.md +++ b/doc/next/3-tools.md @@ -24,8 +24,12 @@ The `go` `list` `-m` `-json` command now includes new `Sum` and `GoModSum` field This is similar to the existing behavior of the `go` `mod` `download` `-json` command. -The new `go` `telemetry` command should be documented here, -as well as `GOTELEMETRY` and `GOTELEMETRYDIR` environment variables. +The new `go` `telemetry` command can be used to view and configure the telemetry collection +mode. Without arguments, it displays the current mode. With `local`, `on`, or `off`, it sets +the collection mode. `go` `env` now lists two values: the `GOTELEMETRY` value, which +contains the telemetry collection mode, and the `GOTELEMETRYDIR` value setting which contains +the directory telemetry data and configuration are written to. +