code: func InfluxDBWithTags(r metrics.Registry, d time.Duration, url, database, username, password, namespace string, tags map[string]string) {
  	u, err := uurl.Parse(url)
  	if err != nil {
  		log.Warn("Unable to parse InfluxDB", "url", url, "err", err)
  		return
  	}
  
  	rep := &reporter{
  		reg:       r,
  		interval:  d,
  		url:       *u,
  		database:  database,
  		username:  username,
  		password:  password,
  		namespace: namespace,
  		tags:      tags,
  		cache:     make(map[string]int64),
  	}
  	if err := rep.makeClient(); err != nil {
  		log.Warn("Unable to make InfluxDB client", "err", err)
  		return
  	}
  
  	rep.run()
  }
docs: // InfluxDBWithTags starts a InfluxDB reporter which will post the from the given metrics.Registry at each d interval with the specified tags