public List<VespaService> getMonitoringServices(String service) {
        if (service.equalsIgnoreCase(ALL_SERVICES))
            return services;

        List<VespaService> myServices = new ArrayList<>();
        for (VespaService s : services) {
            log.log(FINE, () -> "getMonitoringServices. service=" + service + ", checking against " + s + ", which has monitoring name " + s.getMonitoringName());
            if (s.getMonitoringName().id.equalsIgnoreCase(service)) {
                myServices.add(s);
            }
        }

        return myServices;
    }
Get services matching pattern for the name used in the monitoring system.

@param service name in monitoring system + service name, without index, e.g: vespa.container
@return A list of VespaServices
metrics-proxy/src/main/java/ai/vespa/metricsproxy/service/VespaServices.java