telemetry

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

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

func New

func New(bind_address string) *Telemetry

func (*Telemetry) AddCounter

func (t *Telemetry) AddCounter(key string)

AddCounter to metrics collection

func (*Telemetry) AddMeasure

func (t *Telemetry) AddMeasure(key string)

AddMeasure to metrics

func (*Telemetry) NewTiming

func (t *Telemetry) NewTiming(key string) func()

NewTiming creates a new timing metric and returns a done function

Jump to

Keyboard shortcuts

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