public List<ConfiguredMetric> getMetricDefinitions(ConsumerId consumer) {
        return consumerMetrics.get(consumer);
    }
@param consumer The consumer
@return The metrics for the given consumer.
metrics-proxy/src/main/java/ai/vespa/metricsproxy/core/MetricsConsumers.java