telemetry

package
v1.4.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Token    string
	Endpoint string
}

func NewConfig

func NewConfig() *Config

type Tracker

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

func NewTracker

func NewTracker(instrumenter *metrics.Metrics, c *config.Config, tc *Config) *Tracker

func (*Tracker) Announce

func (t *Tracker) Announce()

func (*Tracker) Collect

func (t *Tracker) Collect()

func (*Tracker) Send

func (t *Tracker) Send(event string, props map[string]interface{})

func (*Tracker) Shutdown

func (t *Tracker) Shutdown() error

Jump to

Keyboard shortcuts

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