private void setNonZero(String key, Number value, Metric.Context context, Set<Pair<Metric.Context, String>> nonZeroMetrics) {
        var metricKey = new Pair<>(context, key);
        if (Double.compare(value.doubleValue(), 0.0) != 0) {
            metric.set(key, value, context);
            nonZeroMetrics.add(metricKey);
        }
    }
A version 6.163.20 will be returned as a number 163.020. The major
version can normally be inferred. As long as the micro version stays
below 1000 these numbers sort like Version.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/MetricsReporter.java