public Optional<Value> getValue(String name) {
        for (Metric metric : metricsList) {
            if (name.equals(metric.getName())) {
                return Optional.ofNullable(metric.getValue());
            }
        }

        return Optional.empty();
    }
Keeper for Metrics for HostInfo.

@author Haakon Dybdahl
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/hostinfo/Metrics.java