Documentation ¶
Overview ¶
Package metrics //
Index ¶
Constants ¶
View Source
const ( CounterPrefix = "counter" GaugePrefix = "gauge" TimerPrefix = "timer" )
CounterPrefix stores the prefix for Counter
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry initializes expvar metrics registry
func (*Registry) GetCounter ¶
func (m *Registry) GetCounter(key string) go_kit_metrics.Counter
GetCounter gets go-kit expvar Counter
func (*Registry) GetGauge ¶
func (m *Registry) GetGauge(key string) go_kit_metrics.Gauge
GetGauge gets go-kit expvar Gauge
func (*Registry) GetHistogram ¶ added in v0.11.0
func (m *Registry) GetHistogram(key string) go_kit_metrics.Histogram
GetHistogram gets go-kit Histogram
Click to show internal directories.
Click to hide internal directories.