• Home
Name Date Size #Lines LOC

..--

counter/04-Jul-2025-28790

internal/04-Jul-2025-3,3962,374

.dockerignoreD04-Jul-2025178 1717

.eslintrc.jsonD04-Jul-2025237 1211

.gitattributesD04-Jul-2025545 1513

.gitignoreD04-Jul-202526 22

.prettierrc.jsonD04-Jul-202524 21

.stylelintrc.jsonD04-Jul-2025287 1211

CONTRIBUTING.mdD04-Jul-2025913 3121

LICENSED04-Jul-20251.4 KiB2824

PATENTSD04-Jul-20251.3 KiB2320

README.mdD04-Jul-20252.5 KiB6144

dir.goD04-Jul-2025325 135

doc.goD04-Jul-202518 21

mode.goD04-Jul-20251.4 KiB399

npmD04-Jul-2025349 148

npxD04-Jul-2025349 148

package-lock.jsonD04-Jul-2025156 KiB4,3644,363

package.jsonD04-Jul-2025650 2423

start.goD04-Jul-202511.8 KiB356184

start_posix.goD04-Jul-2025441 2313

start_windows.goD04-Jul-2025732 3014

tsconfig.jsonD04-Jul-2025683 2623

types_alias.goD04-Jul-2025605 227

README.md

1# Go Telemetry
2
3This repository holds the Go Telemetry server code and libraries, used for
4hosting [telemetry.go.dev](https://telemetry.go.dev) and instrumenting Go
5toolchain programs with opt-in telemetry.
6
7**Warning**: this repository is intended for use only in tools maintained by
8the Go team, including tools in the Go distribution and auxiliary tools like
9[gopls](https://pkg.go.dev/golang.org/x/tools/gopls) or
10[govulncheck](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck). There are
11no compatibility guarantees for any of the packages here: public APIs will
12change in breaking ways as the telemetry integration is refined.
13
14## Notable Packages
15
16- The [x/telemetry/counter](https://pkg.go.dev/golang.org/x/telemetry/counter)
17  package provides a library for instrumenting programs with counters and stack
18  reports.
19- The [x/telemetry/upload](https://pkg.go.dev/golang.org/x/telemetry/upload)
20  package provides a hook for Go toolchain programs to upload telemetry data,
21  if the user has opted in to telemetry uploading.
22- The [x/telemetry/cmd/gotelemetry](https://pkg.go.dev/pkg/golang.org/x/telemetry/cmd/gotelemetry)
23  command is used for managing telemetry data and configuration.
24- The [x/telemetry/config](https://pkg.go.dev/pkg/golang.org/x/telemetry/config)
25  package defines the subset of telemetry data that has been approved for
26  uploading by the telemetry proposal process.
27- The [x/telemetry/godev](https://pkg.go.dev/pkg/golang.org/x/telemetry/godev) directory defines
28  the services running at [telemetry.go.dev](https://telemetry.go.dev).
29
30## Contributing
31
32This repository uses Gerrit for code changes. To learn how to submit changes to
33this repository, see https://golang.org/doc/contribute.html.
34
35The main issue tracker for the time repository is located at
36https://github.com/golang/go/issues. Prefix your issue with "x/telemetry:" in
37the subject line, so it is easy to find.
38
39### Linting & Formatting
40
41This repository uses [eslint](https://eslint.org/) to format TS files,
42[stylelint](https://stylelint.io/) to format CSS files, and
43[prettier](https://prettier.io/) to format TS, CSS, Markdown, and YAML files.
44
45See the style guides:
46
47- [TypeScript](https://google.github.io/styleguide/tsguide.html)
48- [CSS](https://go.dev/wiki/CSSStyleGuide)
49
50It is encouraged that all TS and CSS code be run through formatters before
51submitting a change. However, it is not a strict requirement enforced by CI.
52
53### Installing npm Dependencies:
54
551. Install [docker](https://docs.docker.com/get-docker/)
562. Run `./npm install`
57
58### Run ESLint, Stylelint, & Prettier
59
60    ./npm run all
61