code: func GetStatusVars() (map[string]*StatusVal, error) {
  	statusVars := make(map[string]*StatusVal)
  
  	for _, statistics := range statisticsList {
  		vals, err := statistics.Stats()
  		if err != nil {
  			return nil, errors.Trace(err)
  		}
  
  		for name, val := range vals {
  			scope := statistics.GetScope(name)
  			statusVars[name] = &StatusVal{Value: val, Scope: scope}
  		}
  	}
  
  	return statusVars, nil
  }
docs: // GetStatusVars gets registered statistics status variables.