from typing import Tuple


def format_xml_property(
    metric_type: str, summary_method: str, metric_value: float
) -> Tuple[str, float]:
    """
    Formats metric summary into XML name-value tuple in the form of
    (metric_type[summary_method], metric_value)
    ex: (cpu_util[avg], 88.23)
    """
    return f"{metric_type}[{summary_method}]", metric_value