telemetry

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const UIEnvVar = "DEVPOD_UI"

Variables

View Source
var UIEventsExceptions []string = []string{
	"devpod list",
	"devpod status",
	"devpod provider list",
	"devpod pro list",
	"devpod pro check-health",
	"devpod pro check-update",
}

Functions

func GetMachineID added in v0.6.6

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 added in v0.6.6

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

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

Types

type CLICollector added in v0.6.6

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

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

skip everything in pro mode

type ErrorSeverityType added in v0.6.6

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

Jump to

Keyboard shortcuts

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