def add_metric(self, labels, value, timestamp=None):
self.samples.append(Sample(self.name, dict(zip(self._labelnames, labels)), value, timestamp))<EOL>
Add a metric to the metric family.

        Args:
          labels: A list of label values
          value: A float