'Returns stats.MetricMetadata for a metric with a given name.
Args:
varname: Metric name.
Returns:
stats.MetricMetadata object describing the metric.
Raises:
KeyError: if metric is not found.'

def GetMetricMetadata(self, varname):

    return self._metrics_metadata[varname]
