Help us shape the future of Go! Take the 2026 Go Developer Survey

telemetry

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UIEventsExceptions []string = []string{
	config.BinaryName + " list",
	config.BinaryName + " status",
	config.BinaryName + " provider list",
	config.BinaryName + " pro list",
	config.BinaryName + " pro check-health",
	config.BinaryName + " pro check-update",
	config.BinaryName + " ide list",
	config.BinaryName + " ide use",
	config.BinaryName + " provider use",
	config.BinaryName + " version",
	config.BinaryName + " context options",
}

Functions

func GetMachineID

func GetMachineID() string

GetMachineID retrieves machine ID and encodes it together with users $HOME path and extra key to protect privacy. Returns a hex-encoded string.

func StartCLI

func StartCLI(devsyConfig *config.Config, cmd *cobra.Command)

StartCLI starts collecting events and sending them to the backend from the CLI.

Types

type CLICollector

type CLICollector interface {
	RecordCLI(err error)
	SetClient(client devsyclient.BaseWorkspaceClient)

	// Flush makes sure all events are sent to the backend
	Flush()
}
var CollectorCLI CLICollector = &noopCollector{}

skip everything in pro mode.

type ErrorSeverityType

type ErrorSeverityType string
const (
	WarningSeverity ErrorSeverityType = "warning"
	ErrorSeverity   ErrorSeverityType = "error"
	FatalSeverity   ErrorSeverityType = "fatal"
	PanicSeverity   ErrorSeverityType = "panic"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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