<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def metric_parts(metric):
 """Convert a metric name into the operator and metric names."""

    operator, met = resolve_metric_as_tuple(metric)
    return operator.name, met.name