code: func MetricID(name string, tags []string) string {
  	if len(tags) == 0 {
  		return name
  	}
  	sort.Strings(tags)
  	return name + "|" + strings.Join(tags, ",")
  }
docs: // MetricID takes a name and tags and generates a consistent
  // metric identifier