public String getMetricsByConfigId(String configId) {
        List<VespaService> services = vespaServices.getInstancesById(configId);
        vespaServices.updateServices(services);

        return vespaMetrics.getMetricsAsString(services);
    }
@Test
    public void verify_expected_output_from_getMetricsById() {
        String dummy0Metrics = metricsManager.getMetricsByConfigId(SERVICE_0_ID);
        assertTrue(dummy0Metrics.contains("'dummy.id.0'.val=1.050"));
        assertTrue(dummy0Metrics.contains("'dummy.id.0'.c_test=1"));

        String dummy1Metrics = metricsManager.getMetricsByConfigId(SERVICE_1_ID);
        assertTrue(dummy1Metrics.contains("'dummy.id.1'.val=2.350"));
        assertTrue(dummy1Metrics.contains("'dummy.id.1'.c_test=6"));
    }