code: func newStats(c *Context) (stats.Stats, error) {
  	u := c.String(FlagStats)
  	if u == "" {
  		return stats.Null, nil
  	}
  
  	uri, err := url.Parse(u)
  	if err != nil {
  		return nil, err
  	}
  
  	switch uri.Scheme {
  	case "statsd":
  		return newStatsdStats(uri.Host)
  	case "dogstatsd":
  		return newDogstatsdStats(uri.Host)
  	default:
  		return stats.Null, nil
  	}
  }
docs: // Stats =======================