util.go
func (m *CirconusMetrics) Reset() {
	m.cm.Lock()
	defer m.cm.Unlock()

	m.cfm.Lock()
	defer m.cfm.Unlock()

	m.gm.Lock()
	defer m.gm.Unlock()

	m.gfm.Lock()
	defer m.gfm.Unlock()

	m.hm.Lock()
	defer m.hm.Unlock()

	m.tm.Lock()
	defer m.tm.Unlock()

	m.tfm.Lock()
	defer m.tfm.Unlock()

	m.counters = make(map[string]uint64)
	m.counterFuncs = make(map[string]func() uint64)
	m.gauges = make(map[string]interface{})
	m.gaugeFuncs = make(map[string]func() int64)
	m.histograms = make(map[string]*Histogram)
	m.text = make(map[string]string)
	m.textFuncs = make(map[string]func() string)
}
func (m *CirconusMetrics) Reset() {
	m.cm.Lock()
	defer m.cm.Unlock()

	m.cfm.Lock()
	defer m.cfm.Unlock()

	m.gm.Lock()
	defer m.gm.Unlock()

	m.gfm.Lock()
	defer m.gfm.Unlock()

	m.hm.Lock()
	defer m.hm.Unlock()

	m.tm.Lock()
	defer m.tm.Unlock()

	m.tfm.Lock()
	defer m.tfm.Unlock()

	m.counters = make(map[string]uint64)
	m.counterFuncs = make(map[string]func() uint64)
	m.gauges = make(map[string]interface{})
	m.gaugeFuncs = make(map[string]func() int64)
	m.histograms = make(map[string]*Histogram)
	m.text = make(map[string]string)
	m.textFuncs = make(map[string]func() string)
}
func ( m * CirconusMetrics ) Reset ( ) { m . cm . Lock ( ) defer m . cm . Unlock ( ) m . cfm . Lock ( ) defer m . cfm . Unlock ( ) m . gm . Lock ( ) defer m . gm . Unlock ( ) m . gfm . Lock ( ) defer m . gfm . Unlock ( ) m . hm . Lock ( ) defer m . hm . Unlock ( ) m . tm . Lock ( ) defer m . tm . Unlock ( ) m . tfm . Lock ( ) defer m . tfm . Unlock ( ) m . counters = make ( map [ string ] uint64 ) m . counterFuncs = make ( map [ string ] func ( ) uint64 ) m . gauges = make ( map [ string ] interface { } ) m . gaugeFuncs = make ( map [ string ] func ( ) int64 ) m . histograms = make ( map [ string ] * Histogram ) m . text = make ( map [ string ] string ) m . textFuncs = make ( map [ string ] func ( ) string ) }
// Reset removes all existing counters and gauges.
Reset removes all existing counters and gauges .