telemetry

package
v0.8.8-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeTelemetry

func InitializeTelemetry()

Types

type Counter

type Counter interface {
	Inc()
	Add(float64)
}

func NewCounter

func NewCounter(name string, help string) Counter

type Gauge

type Gauge interface {
	Set(float64)
	Inc()
	Dec()
	Add(float64)
	Sub(float64)
	SetToCurrentTime()
}

func NewGauge

func NewGauge(name string, help string) Gauge

type Histogram

type Histogram interface {
	Observe(float64)
}

func NewHistogram

func NewHistogram(name string, help string) Histogram

type NoopStat

type NoopStat struct{}

func (NoopStat) Add

func (n NoopStat) Add(float64)

func (NoopStat) Dec

func (n NoopStat) Dec()

func (NoopStat) Inc

func (n NoopStat) Inc()

func (NoopStat) Observe

func (n NoopStat) Observe(float64)

func (NoopStat) Set

func (n NoopStat) Set(float64)

func (NoopStat) SetToCurrentTime

func (n NoopStat) SetToCurrentTime()

func (NoopStat) Sub

func (n NoopStat) Sub(float64)

Jump to

Keyboard shortcuts

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