def sample_counters(mc, system_info):
    """Sample every router counter in the machine."""
    return {
        (x, y): mc.get_router_diagnostics(x, y) for (x, y) in system_info
    }
Sample every router counter in the machine.