tree: 502e232811553627aa9fc6e1ec10b56b493fa41f [path history] [tgz]
  1. static/
  2. icon.tmpl
  3. index.css
  4. index.html
  5. index.ts
  6. README.md
  7. storage.ts
  8. tsconfig.json
  9. view.go
  10. view_test.go
cmd/gotelemetry/internal/view/README.md

Go Telemetry View

Telemetry data it is stored in files on the user machine. Users can run the command, gotelemetry view, to view the data in a browser. The HTML page served by the command will generate graphs based on the local copies of report uploads and active counter files.

Development

The static files are generated with a generator command in ./main.go. You can edit the source files and run go generate to rebuild them.

go generate ./cmd/gotelemetry/view

Running the server with the --dev flag will watch and rebuild the static files on save.

go run ./cmd/gotelemetry --dev view