telemetry

package
v2.2.10 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultInstance = InitiateTelemetryInstance()

creating a DefaultInstance for global updates

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	Recorded bool
	// contains filtered or unexported fields
}

func InitiateTelemetryInstance

func InitiateTelemetryInstance() *Telemetry

func (*Telemetry) GetRecordedMetrics

func (t *Telemetry) GetRecordedMetrics() map[string]interface{}

func (*Telemetry) PostRecordedTelemetry

func (t *Telemetry) PostRecordedTelemetry(reqConfig TelemetryRequestConfig) error

func (*Telemetry) RecordArrayMetric

func (t *Telemetry) RecordArrayMetric(key string, value interface{})

func (*Telemetry) RecordAtomicMetric

func (t *Telemetry) RecordAtomicMetric(key string, value interface{})

type TelemetryRequestConfig

type TelemetryRequestConfig struct {
	Url, UserHash, SessionId, AuthenticationKeyHash string
}

Jump to

Keyboard shortcuts

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