code: func (a *WhisperAggregation) match(metric string) *whisperAggregationItem {
  	for _, s := range a.Data {
  		if s.pattern.MatchString(metric) {
  			return s
  		}
  	}
  	return a.Default
  }
docs: // Match find schema for metric