code: func (m *Metric) gen() <-chan string {
  	out := make(chan string, len(metricsNames))
  	for _, n := range metricsNames {
  		out <- n
  	}
  	close(out)
  	return out
  }
docs: // gen generates the key metric structs and returns a channel pipeline.