view

package
v0.0.0-...-5e7a336 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: BSD-3-Clause Imports: 22 Imported by: 0

README

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. You can edit the source files and run go generate to rebuild them.

go generate ./content

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

go run ./cmd/gotelemetry view --dev

Documentation

Overview

The view command is a server intended to be run on a user's machine to display the local counters and time series charts of counters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Addr     string
	Dev      bool
	FsConfig string
	Open     bool
}

func (*Server) Serve

func (s *Server) Serve()

Serve starts the telemetry viewer and runs indefinitely.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL