Closed as duplicate of#68928
Closed as duplicate of#68928
Description
Go version
go version go1.24.3 linux/amd64
Output of go env
in your module/workspace:
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/users/nketley/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/users/nketley/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1429474828=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/dev/null'
GOMODCACHE='/users/nketley/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/users/nketley/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/auto/sw/packages/xr/go/1.24.3'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/users/nketley/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/auto/sw/packages/xr/go/1.24.3/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.3'
GOWORK=''
PKG_CONFIG='pkg-config'
What did you do?
Performed a Go build in which I wanted to disable telemetry (because it was causing crashes).
What did you see happen?
The go telemetry off
command disables telemetry but it is one global setting for the user, meaning that a user cannot have different telemetry settings for different applications being used at the same time. There is no environment variable that allows you to set the Go telemetry mode which is unfortunate since that would support precisely this requirement allowing the user to set different modes for different applications.
What did you expect to see?
An environment variable approach to controlling the telemetry mode that is in operation.
Metadata
Metadata
Assignees
Labels
No labels