none

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
}

func (*Counter) Add

func (c *Counter) Add(val float64, labelValues ...string)

func (*Counter) Inc

func (c *Counter) Inc(labelValues ...string)

type DynamicGauge

type DynamicGauge struct {
}

func (*DynamicGauge) Dec

func (d *DynamicGauge) Dec(labelValues ...string)

func (*DynamicGauge) Inc

func (d *DynamicGauge) Inc(labelValues ...string)

type Gauge

type Gauge struct {
}

type Server

type Server struct {
}

func (*Server) AfterSharingStart

func (s *Server) AfterSharingStart() error

func (*Server) Close

func (s *Server) Close() error

func (*Server) NewCounter

func (s *Server) NewCounter(name, help string, labels ...string) telemetry.Counter

func (*Server) NewDynamicGauge

func (s *Server) NewDynamicGauge(name, help string, labels ...string) telemetry.DynamicGauge

func (*Server) NewGauge

func (s *Server) NewGauge(name, help string, getter func() float64, labels ...string) telemetry.Gauge

func (*Server) NewTimer

func (s *Server) NewTimer(name, help string, labels ...string) telemetry.Timer

func (*Server) Start

func (s *Server) Start(config *telemetry.Config) error

type TimeRecorder

type TimeRecorder struct {
}

func (*TimeRecorder) Stop

func (r *TimeRecorder) Stop()

type Timer

type Timer struct {
}

func (*Timer) AddTime

func (t *Timer) AddTime(d time.Duration, labelValues ...string)

func (*Timer) Start

func (t *Timer) Start(labelValues ...string) telemetry.TimeRecorder

Jump to

Keyboard shortcuts

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