commit | e6b4434f4423e7cda508203563708a65603453d2 | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Fri Sep 13 13:48:30 2024 +0000 |
committer | Robert Findley <rfindley@google.com> | Fri Sep 13 16:31:15 2024 +0000 |
tree | 3568de64374853da68f6556192c1e65e001f607e | |
parent | 865cc6769b63b9f8c4d1138da5edd25ad2f5b0f7 [diff] |
godev/cmd/worker: refactor and simplify worker partitioning Refactor the worker logic as follows: - Rename 'nest' to 'group'. - Use strongly typed strings (programName, graphName, etc) in more places - Group data by raw bucket name, rather than "normalized counter name". This makes the data format simpler, and means we don't need to invoke normalizeCounterName very precisely in two places (action at a distance). A follow-up CL will lift name normalization to the caller, as noted in a TODO. - Simplify normalizeCounterName to return a bucketName. Notably, TestCharts did not need to change as a result of this change, because these transformations only affect the intermediate representation of the data, not the final output. Change-Id: I4bfac774d40e665f8a6308936e15b7df219ab931 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/613075 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.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