telemetry

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close closes the telemetry client

func Init

func Init() error

Init initializes the global telemetry client

func IsEnabled

func IsEnabled() bool

IsEnabled returns whether telemetry is enabled

func TrackAppStart added in v0.8.2

func TrackAppStart(command string)

TrackAppStart tracks when the application starts

func TrackBuildXOperation added in v0.8.2

func TrackBuildXOperation(operation string, platform string, success bool)

TrackBuildXOperation tracks BuildX operations

func TrackCLICommand added in v0.8.2

func TrackCLICommand(commandName string, subcommand string, args []string)

TrackCLICommand tracks when a user runs a CLI command

func TrackConfigOperation added in v0.8.2

func TrackConfigOperation(operation string, success bool)

TrackConfigOperation tracks config-related operations

func TrackDaggerOperation added in v0.8.2

func TrackDaggerOperation(operation string, module string, success bool, executionTime time.Duration)

TrackDaggerOperation tracks Dagger-related operations

func TrackError added in v0.8.2

func TrackError(errorType string, component string, errorMessage string)

TrackError tracks significant errors

func TrackMCPCommand

func TrackMCPCommand(toolName string)

TrackMCPCommand tracks when a user runs an MCP command

func TrackToolExecution added in v0.8.2

func TrackToolExecution(toolName string, executionTime time.Duration, success bool, errorType string)

TrackToolExecution tracks when a security/infrastructure tool is executed

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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