public String getMetricNamesForServiceAndConsumer(String service, ConsumerId consumer) {
        return vespaMetrics.getMetricNames(vespaServices.getMonitoringServices(service), consumer);
    }
Returns all metrics for the given service that are whitelisted for the given consumer.
metrics-proxy/src/main/java/ai/vespa/metricsproxy/core/MetricsManager.java