public OptionalDouble peak(Load.Dimension dimension) {
        return snapshots.stream().mapToDouble(snapshot -> snapshot.load().get(dimension)).max();
    }
Returns the last (newest) snapshot in this, or empty if there are none.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/NodeTimeseries.java