telemetry

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstallID string
	IsEnabled bool
	Version   string
	FirstRun  bool
)

Functions

func Init

func Init(ctx context.Context)

func RecordCLIInvocation

func RecordCLIInvocation(command string)

func RecordCLIInvocationWithFlags added in v0.8.6

func RecordCLIInvocationWithFlags(command string, activeFlags map[string]string)

func RecordDirScan added in v0.8.6

func RecordDirScan(fileCount int, langCounts map[string]int)

func RecordDuration

func RecordDuration(operation, language string, duration float64)

func RecordError

func RecordError(errorType string)

func RecordFileAnalyzed

func RecordFileAnalyzed(language, extension string)

func RecordInstallation

func RecordInstallation()

func RecordMCPToolCall

func RecordMCPToolCall(tool string)

func RecordQualityScore

func RecordQualityScore(language string, score int)

func RecordSecretsDetected

func RecordSecretsDetected(category, severity, fileExt string, count int)

func RecordSmellsDetected

func RecordSmellsDetected(smellType, language string, count int)

func SetMCPClient added in v0.8.6

func SetMCPClient(name string)

func Shutdown

func Shutdown(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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