// MetricCount returns the number of metrics in the registry
MetricCount returns the number of metrics in the registry
// MetricCount returns the number of metrics in the registry
func (r *PCPRegistry) MetricCount() int {
	r.metricslock.RLock()
	defer r.metricslock.RUnlock()
	return len(r.metrics)
}
func ( r * PCPRegistry ) MetricCount ( ) int { r . metricslock . RLock ( ) defer r . metricslock . RUnlock ( ) return len ( r . metrics ) }
MetricCount returns the number of metrics in the registry
MetricCount returns the number of metrics in the registry