code: func scrapeMetrics() (map[string]*dto.MetricFamily, error) {
  	req, err := http.NewRequest("GET", etcdMetricsScrapeURI, nil)
  	if err != nil {
  		return nil, fmt.Errorf("failed to create GET request for etcd metrics: %v", err)
  	}
  
  	// Send the get request and receive a response.
  	client := &http.Client{}
  	resp, err := client.Do(req)
  	if err != nil {
  		return nil, fmt.Errorf("failed to receive GET response for etcd metrics: %v", err)
  	}
  	defer resp.Body.Close()
  
  	// Parse the metrics in text format to a MetricFamily struct.
  	var textParser expfmt.TextParser
  	return textParser.TextToMetricFamilies(resp.Body)
  }
docs: // scrapeMetrics scrapes the prometheus metrics from the etcd metrics URI.