@Override
    public ServerLoaderInfoResponse handle(ServerLoaderInfoRequest request, RequestMeta meta) throws NacosException {
        ServerLoaderInfoResponse serverLoaderInfoResponse = new ServerLoaderInfoResponse();
        serverLoaderInfoResponse.putMetricsValue("conCount", String.valueOf(connectionManager.currentClientsCount()));
        Map<String, String> filter = new HashMap<>(2);
        filter.put(RemoteConstants.LABEL_SOURCE, RemoteConstants.LABEL_SOURCE_SDK);
        serverLoaderInfoResponse
                .putMetricsValue("sdkConCount", String.valueOf(connectionManager.currentClientsCount(filter)));
        serverLoaderInfoResponse.putMetricsValue("load", String.valueOf(EnvUtil.getLoad()));
        serverLoaderInfoResponse.putMetricsValue("cpu", String.valueOf(EnvUtil.getCpu()));
        
        return serverLoaderInfoResponse;
    }
@Test
    void testHandle() {
        Mockito.when(connectionManager.currentClientsCount()).thenReturn(1);
        Mockito.when(connectionManager.currentClientsCount(Mockito.any())).thenReturn(1);
        
        ServerLoaderInfoRequest request = new ServerLoaderInfoRequest();
        RequestMeta meta = new RequestMeta();
        
        try {
            ServerLoaderInfoResponse response = handler.handle(request, meta);
            String sdkConCount = response.getMetricsValue("sdkConCount");
            assertEquals("1", sdkConCount);
            
        } catch (NacosException e) {
            e.printStackTrace();
            fail(e.getMessage());
        }
    }