code: func NewMetrics(conf *metrics.Config, sink metrics.MetricSink) (err error) {
  	m, err := metrics.NewGlobal(conf, sink)
  	SetMetrics(m)
  
  	return nil
  }
docs: // NewMetrics initializes goa's metrics instance with the supplied
  // configuration and metrics sink
  // This method is deprecated and SetMetrics should be used instead.