code: func (this *summaryMetricsSource) decodeSummary(summary *stats.Summary) map[string]*MetricSet {
  	glog.V(9).Infof("Begin summary decode")
  	result := map[string]*MetricSet{}
  
  	labels := map[string]string{
  		LabelNodename.Key: this.node.NodeName,
  		LabelHostname.Key: this.node.HostName,
  		LabelHostID.Key:   this.node.HostID,
  	}
  
  	this.decodeNodeStats(result, labels, &summary.Node)
  	for _, pod := range summary.Pods {
  		this.decodePodStats(result, labels, &pod)
  	}
  
  	glog.V(9).Infof("End summary decode")
  	return result
  }
docs: // decodeSummary translates the kubelet statsSummary API into the flattened heapster MetricSet API.