public static Metrics createTestMetrics() {
        NullMetric metric = new NullMetric();
        HealthMonitorConfig.Builder builder = new HealthMonitorConfig.Builder();
        builder.snapshot_interval(60.0);
        ZookeeperServerConfig.Builder zkBuilder = new ZookeeperServerConfig.Builder().myid(1);
        return new Metrics(metric, new HealthMonitorConfig(builder), new ZookeeperServerConfig(zkBuilder), false);
    }
Metrics for config server.

@author Harald Musum
configserver/src/main/java/com/yahoo/vespa/config/server/monitoring/Metrics.java