code: func (h *handler) handlePodContainer(request *restful.Request, response *restful.Response) {
  	query, err := parseStatsRequest(request)
  	if err != nil {
  		handleError(response, request.Request.URL.String(), err)
  		return
  	}
  
  	// Default parameters.
  	params := map[string]string{
  		"namespace": metav1.NamespaceDefault,
  		"uid":       "",
  	}
  	for k, v := range request.PathParameters() {
  		params[k] = v
  	}
  
  	if params["podName"] == "" || params["containerName"] == "" {
  		response.WriteErrorString(http.StatusBadRequest,
  			fmt.Sprintf("Invalid pod container request: %v", params))
  		return
  	}
  
  	pod, ok := h.provider.GetPodByName(params["namespace"], params["podName"])
  	if !ok {
  		klog.V(4).Infof("Container not found: %v", params)
  		response.WriteError(http.StatusNotFound, kubecontainer.ErrContainerNotFound)
  		return
  	}
  	stats, err := h.provider.GetContainerInfo(
  		kubecontainer.GetPodFullName(pod),
  		types.UID(params["uid"]),
  		params["containerName"],
  		query.cadvisorRequest())
  
  	if err != nil {
  		handleError(response, fmt.Sprintf("%s %v", request.Request.URL.String(), query), err)
  		return
  	}
  	writeResponse(response, stats)
  }
docs: // Handles kubernetes pod/container stats requests to:
  // /stats/<pod name>/<container name>
  // /stats/<namespace>/<pod name>/<uid>/<container name>