// Aggregate return counter key and value
Aggregate return counter key and value
// Aggregate return counter key and value
func (m *CounterMetrics) Aggregate() map[string]Data {
	m.value.mu.RLock()
	defer m.value.mu.RUnlock()
	return map[string]Data{
		m.key: m.value,
	}
}
func ( m * CounterMetrics ) Aggregate ( ) map [ string ] Data { m . value . mu . RLock ( ) defer m . value . mu . RUnlock ( ) return map [ string ] Data { m . key : m . value , } }
Aggregate return counter key and value
Aggregate return counter key and value