def METHOD_NAME(self):
    metrics = []
    for _tp, components in self.grouped_components:
        metric = {
            'total': 0,
            'type': _tp,
            'session_active': 0,
            ComponentLoad.high: [],
            ComponentLoad.normal: [],
            ComponentLoad.offline: [],
            ComponentLoad.critical: [],
        }
        for component in components:
            metric[component.load].append(component.name)
            metric['total'] += 1
            metric['session_active'] += component.get_online_session_count()
        metrics.append(metric)
    return metrics