Skip to content

Commit

Permalink
telemetry: extend meta version info
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis committed May 10, 2021
1 parent 160f7a4 commit 28b4cca
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 63 deletions.
5 changes: 4 additions & 1 deletion pkg/telemetry/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ func TiUPMeta() *TiUPInfo {
return &TiUPInfo{
TiUPVersion: os.Getenv(localdata.EnvNameTiUPVersion),
ComponentVersion: version.NewTiUPVersion().SemVer(),
GitCommit: version.NewTiUPBuildInfo().GitHash,
GitRef: version.GitRef,
GitCommit: version.GitHash,
VerName: version.TiUPVerName,
Os: runtime.GOOS,
Arch: runtime.GOARCH,
Go: runtime.Version(),
}
}

Expand Down
273 changes: 214 additions & 59 deletions pkg/telemetry/report.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28b4cca

Please sign in to comment.