commit | e9e6960092dd4184c4b356bb4e3a5c3a111a0d26 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Fri Sep 27 15:48:33 2024 +0000 |
committer | Robert Findley <rfindley@google.com> | Fri Sep 27 21:45:44 2024 +0000 |
tree | 9223e0098cbf5e997770e8bd34abcde4292f44e9 | |
parent | 19675431963b3b91083959810dbde91edf452ff8 [diff] |
godev: simplify local development of the worker To make it easier to develop the worker, add a new ./godev/devtools/cmd/copyuploads command to copy uploaded reports from a GCS bucket to the local filesystem. After running this script, running ./godev/cmd/worker with no arguments will have access to recent uploaded reports in the local filesystem environment. Also update the README for local development, and update the default config to set the GCP ProjectID (without this setting, I assume it was using whatever was returned by gcloud config get project). Finally, remove the unused Config.StorageEmulatorHost. This had confused me due to the overlap with the STORAGE_EMULATOR_HOST environment variable read by the cloud.google.com/storage package. Change-Id: Ia0565f67fa763ac3d74aba0631a92e8f21b506f8 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/615776 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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 telemetry 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