]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add additional counters for mode and host/target OS and arch
authorMichael Matloob <matloob@golang.org>
Mon, 20 May 2024 14:38:40 +0000 (10:38 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 22 May 2024 21:09:11 +0000 (21:09 +0000)
commit2b8d9e3997df9835bc33522fab917ab701c174b6
tree5fc6f7606ffab61e1ac579ce2fc3f2cf90b560ff
parent6db272d2dd65202e97058cb0c4909151eed05ae6
cmd/go: add additional counters for mode and host/target OS and arch

The following counters are added:
(* means we will record the actual value for the counter, but of course
the config will limit us to collecting preknown values)

    go/mode:{gopath,workspace,module}
    go/platform/{host,target}/{goos,goarch}:*
    go/platform/target/{
        go386,goamd64,goarm,goarm64,gomips,goppc64,goriscv64,gowasm}:*
    For windows and unix:
        go/platform/host/*/version:*
        go/platform/host/*/major-version:*-*
    For windows:
        go/platform/host/windows/build:*

Change-Id: I3c865afede2382bae103e5b4b9d1aa6b20c123df
Reviewed-on: https://go-review.googlesource.com/c/go/+/587115
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/go/internal/telemetrystats/telemetrystats.go [new file with mode: 0644]
src/cmd/go/internal/telemetrystats/telemetrystats_bootstrap.go [new file with mode: 0644]
src/cmd/go/internal/telemetrystats/version_other.go [new file with mode: 0644]
src/cmd/go/internal/telemetrystats/version_unix.go [new file with mode: 0644]
src/cmd/go/internal/telemetrystats/version_windows.go [new file with mode: 0644]
src/cmd/go/main.go