public String getMetricNames(List<VespaService> services, ConsumerId consumer) {
        MetricNamesBuilder metricNamesBuilder = new MetricNamesBuilder(consumer);
        for (VespaService service : services) {
            service.consumeMetrics(metricNamesBuilder);
        }

        return metricNamesBuilder.toString();
    }
Get all metric names for the given services

@return String representation
metrics-proxy/src/main/java/ai/vespa/metricsproxy/core/VespaMetrics.java