def METHOD_NAME(self, service_name, metrics_elem, instance_tags):
    """
    Emit one metrics packet, which consists of a set of metrics that share the same set of dimensions.
    :param metrics_elem: A (values, dimensions) tuple from the 'metrics' json array.
    """
    if 'values' not in metrics_elem:
        return
    metric_tags = self._get_tags(metrics_elem, service_name)
    for name, value in metrics_elem['values'].items():
        full_name = "vespa." + name
        self._emit_metric(full_name, value, metric_tags + instance_tags)