Documentation
¶
Index ¶
- type Counter
- type DynamicGauge
- type Gauge
- type Server
- func (s *Server) AfterSharingStart() error
- func (s *Server) Close() error
- func (s *Server) NewCounter(name, help string, labels ...string) telemetry.Counter
- func (s *Server) NewDynamicGauge(name, help string, labels ...string) telemetry.DynamicGauge
- func (s *Server) NewGauge(name, help string, getter func() float64, labels ...string) telemetry.Gauge
- func (s *Server) NewTimer(name, help string, labels ...string) telemetry.Timer
- func (s *Server) Start(config *telemetry.Config) error
- type TimeRecorder
- type Timer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicGauge ¶
type DynamicGauge struct { }
func (*DynamicGauge) Dec ¶
func (d *DynamicGauge) Dec(labelValues ...string)
func (*DynamicGauge) Inc ¶
func (d *DynamicGauge) Inc(labelValues ...string)
type Server ¶
type Server struct { }
func (*Server) AfterSharingStart ¶
func (*Server) NewCounter ¶
func (*Server) NewDynamicGauge ¶
func (s *Server) NewDynamicGauge(name, help string, labels ...string) telemetry.DynamicGauge
type TimeRecorder ¶
type TimeRecorder struct { }
func (*TimeRecorder) Stop ¶
func (r *TimeRecorder) Stop()
Click to show internal directories.
Click to hide internal directories.