from typing import OrderedDict


def parse_line(line):
    """
    Reads single line from cAdvisor logfile

    :param line: single line as str

    :returns: OrderedDict of line read
    """
    tmp_res = OrderedDict()
    # split line into array of "key=value" metrics
    metrics = line.split()
    for metric in metrics:
        key, value = metric.split('=')
        tmp_res[key] = value

    return tmp_res