telemetry

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close added in v0.12.0

func Close()

func Error added in v0.12.0

func Error(err error)

func ErrorMessage added in v0.12.0

func ErrorMessage(message string)

func Event added in v0.12.0

func Event(name string, properties ...map[string]interface{})

func EventNotify added in v0.12.0

func EventNotify(name string, properties ...map[string]interface{})

func Init added in v0.12.0

func Init(telemetryConfig Config) error

func RecordEmail added in v0.12.0

func RecordEmail(email string)

func RecordOperatorID added in v0.12.0

func RecordOperatorID(clientID string, operatorID string)

Types

type BackoffMode added in v0.13.0

type BackoffMode int
const (
	NoBackoff BackoffMode = iota
	BackoffDuplicateMessages
	BackoffAnyMessages
)

type Config added in v0.12.0

type Config struct {
	Enabled     bool
	UserID      string
	Properties  map[string]interface{}
	Environment string
	LogErrors   bool
	BackoffMode BackoffMode
}

Jump to

Keyboard shortcuts

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