// GetMetricsKeys returns keeps metrics keys
GetMetricsKeys returns keeps metrics keys
// GetMetricsKeys returns keeps metrics keys
func (c *SimpleCollector) GetMetricsKeys() []string {
	c.mu.RLock()
	defer c.mu.RUnlock()
	res := make([]string, 0)
	for k := range c.metrics {
		res = append(res, k)
	}
	sort.Strings(res)
	return res
}
func ( c * SimpleCollector ) GetMetricsKeys ( ) [ ] string { c . mu . RLock ( ) defer c . mu . RUnlock ( ) res := make ( [ ] string , 0 ) for k := range c . metrics { res = append ( res , k ) } sort . Strings ( res ) return res }
GetMetricsKeys returns keeps metrics keys
GetMetricsKeys returns keeps metrics keys