code: func (c *Client) Stats() map[string]map[string]string {
  	numServers := c.routers.NumServers()
  
  	toString := func(v uint64) string {
  		return strconv.FormatUint(v, 10)
  	}
  	stats := map[string]map[string]string{
  		"consul": map[string]string{
  			"server":        "false",
  			"known_servers": toString(uint64(numServers)),
  		},
  		"serf_lan": c.serf.Stats(),
  		"runtime":  runtimeStats(),
  	}
  
  	if c.ACLsEnabled() {
  		if c.UseLegacyACLs() {
  			stats["consul"]["acl"] = "legacy"
  		} else {
  			stats["consul"]["acl"] = "enabled"
  		}
  	} else {
  		stats["consul"]["acl"] = "disabled"
  	}
  
  	for outerKey, outerValue := range c.enterpriseStats() {
  		if _, ok := stats[outerKey]; ok {
  			for innerKey, innerValue := range outerValue {
  				stats[outerKey][innerKey] = innerValue
  			}
  		} else {
  			stats[outerKey] = outerValue
  		}
  	}
  
  	return stats
  }
docs: // Stats is used to return statistics for debugging and insight
  // for various sub-systems