commit | e553cd4b65f189bb418a767ffc2b5615bbc9a5d3 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Thu Aug 22 14:31:53 2024 +0000 |
committer | Gopher Robot <gobot@golang.org> | Wed Aug 28 00:54:17 2024 +0000 |
tree | 24d54f73054bd3414949d82053bb14f5481fd20f | |
parent | 61baa7d367c9761aaa54ff14aaac79f8407d4782 [diff] |
internal/upload: only download the upload config if necessary Refactor the upload pass so that the upload config is downloaded lazily, and only if an upload is actually going to be performed. More refactoring is desirable, but this change is intentionally minimal as it will be cherry-picked into Go 1.23.1 to address golang/go#68946. TODOs are left for future CLs. For golang/go#68946 Change-Id: I4c565b333d92361a8380dd790b1a4f2d7223a37c Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/607796 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Robert Findley <rfindley@google.com>
This repository holds the Go Telemetry server code and libraries, used for hosting telemetry.go.dev and instrumenting Go toolchain programs with opt-in telemetry.
Warning: this repository is intended for use only in tools maintained by the Go team, including tools in the Go distribution and auxiliary tools like gopls or govulncheck. There are no compatibility guarantees for any of the packages here: public APIs will change in breaking ways as the telemetry integration is refined.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.
This repository uses eslint to format TS files, stylelint to format CSS files, and prettier to format TS, CSS, Markdown, and YAML files.
See the style guides:
It is encouraged that all TS and CSS code be run through formatters before submitting a change. However, it is not a strict requirement enforced by CI.
./npm install
./npm run all