@staticmethod
def convert(observation, target):
    metric = None
    additional_metrics = []
    for m in observation.metrics:
        if (m.name == target):
            metric = Metric(m.name, m.value)
        else:
            additional_metrics.append(Metric(m.name, m.value))
    return (metric, additional_metrics)
@staticmethod
def convert(observation, target):
    metric = None
    additional_metrics = []
    for m in observation.metrics:
        if (m.name == target):
            metric = Metric(m.name, m.value)
        else:
            additional_metrics.append(Metric(m.name, m.value))
    return (metric, additional_metrics)