telemetry

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapAttempt

func BootstrapAttempt()

func BootstrapFailure

func BootstrapFailure(elapsed time.Duration)

func BootstrapSuccess

func BootstrapSuccess(elapsed time.Duration)

func Exit

func Exit()

func ExitFromSignal

func ExitFromSignal(sig os.Signal)

func ExitWithError

func ExitWithError()

func GetMachineId added in v0.7.0

func GetMachineId() string

func HttpMiddleware

func HttpMiddleware() func(http.Handler) http.Handler

func Init

func Init()

func InitClient

func InitClient(config *rest.Config)

func InitWithManager

func InitWithManager(mgr manager.Manager)

func SetUserProperty added in v0.4.0

func SetUserProperty(key string, value string)

Types

type ClientTelemetry

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

func ForClient

func ForClient() *ClientTelemetry

func (*ClientTelemetry) InitClient

func (t *ClientTelemetry) InitClient(config *rest.Config)

type OperatorTelemetry

type OperatorTelemetry struct {
	properties.PropertyGetter
	// contains filtered or unexported fields
}

func ForControllerManager

func ForControllerManager(mgr manager.Manager) *OperatorTelemetry

func ForOperator

func ForOperator() *OperatorTelemetry

func (*OperatorTelemetry) OnEvent

func (t *OperatorTelemetry) OnEvent(obj client.Object, status condition.Type, reason condition.Reason)

func (*OperatorTelemetry) ReconcilePackage

func (t *OperatorTelemetry) ReconcilePackage(pkg *v1alpha1.Package)

func (*OperatorTelemetry) ReportDelete

func (t *OperatorTelemetry) ReportDelete(pkg *v1alpha1.Package)

func (*OperatorTelemetry) ReportStart added in v0.3.0

func (t *OperatorTelemetry) ReportStart()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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