code: func NewMetricsClient(config *MetricsClientConfig) (Metrics, error) {
  	// Use default implementation if no HawkularGetter is specified
  	if config.HawkularGetter == nil {
  		config.HawkularGetter = &defaultGetter{}
  	}
  	helper, err := config.GetHawkularRESTAPI(config)
  	if err != nil {
  		return nil, err
  	}
  	mc := &metricsClient{
  		HawkularRESTAPI: helper,
  	}
  
  	return mc, nil
  }
docs: // NewMetricsClient creates a Metrics object given a configuration