void set(MetricDimensions dim, String key, Number val) {
        metricSet(dim).set(key, val);
    }
Returns all the metrics in this snapshot.
container-core/src/main/java/com/yahoo/container/jdisc/state/MetricSnapshot.java