public List<MetricsPacket> fetchAllMetrics() throws JsonRenderingException {
        return metricsManager.getMetrics(vespaServices.getVespaServices(), Instant.now());
    }
Generates metrics values in json format for the metrics/v1 rest api.

@author gjoranv
metrics-proxy/src/main/java/ai/vespa/metricsproxy/http/ValuesFetcher.java