def get_metrics_obj(monitorEle):
    """Find the metrics element within the given monitor element."""
    if monitorEle is None:
        return None
    metricsEle = monitorEle['metrics']
    if len(metricsEle) < 1:
        return None
    return metricsEle