public Map<String, MetricsConsumer> getConsumers() {
        return Collections.unmodifiableMap(consumers);
    }
A mutable helper class representing the user defined metrics and consumers.

@author gjoranv
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/builder/Metrics.java