code: func (a *HistoricalApi) podMetrics(request *restful.Request, response *restful.Response) {
  	var key core.HistoricalKey
  	if request.PathParameter("pod-id") != "" {
  		key = core.HistoricalKey{
  			ObjectType: core.MetricSetTypePod,
  			PodId:      request.PathParameter("pod-id"),
  		}
  	} else {
  		key = core.HistoricalKey{
  			ObjectType:    core.MetricSetTypePod,
  			NamespaceName: request.PathParameter("namespace-name"),
  			PodName:       request.PathParameter("pod-name"),
  		}
  	}
  	a.processMetricRequest(key, request, response)
  }
docs: // podMetrics returns a metric timeseries for a metric of the Pod entity.