commit | 03c106428aee3fcbc1b9b71b757a3b3d045ed73c | [log] [tgz] |
---|---|---|
author | Hongxiang Jiang <hxjiang@golang.org> | Mon Jul 15 18:30:19 2024 +0000 |
committer | Hongxiang Jiang <hxjiang@golang.org> | Tue Jul 16 18:15:44 2024 +0000 |
tree | 6b4b1a17e1b36e18c662d53d9078e4c66241a818 | |
parent | 44ac6ef1aa14e83de7da3bddbd9e9c4ce3ab577a [diff] |
internal/content/telemetrygodev: chart using absolute value 1. worker will generate json when visiting chart/?date=YYYY-MM-DD 2. telemetrygodev plot json with range (0, max(datum.Value...)) Diff of charted json: ... "Data": [ { "Week": "2024-06-10", "Key": "v0.13", "Value": 0 }, { "Week": "2024-06-10", "Key": "v0.14", - "Value": 0.06060606060606061 + "Value": 10 }, { "Week": "2024-06-10", "Key": "v0.15", - "Value": 0.9272727272727272 + "Value": 153 }, ... ] ... Diff of telemetry website: Before: https://github.com/user-attachments/assets/79d4c768-b1e5-441a-abf5-106287e7323a After: https://github.com/user-attachments/assets/bad513a8-c907-400f-97cb-8a86370f6a20 Change-Id: I252a3dbe4e9452af0cedb3410e5ee56195df1faf Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/598276 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 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