ah shit, forgot to load the metrics after messing around
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m32s

This commit is contained in:
Lee 2024-04-17 00:59:36 +01:00
parent 7a50dccabd
commit d8d4f32006

View File

@ -86,8 +86,8 @@ public class MetricService {
*/
public void loadMetrics() {
log.info("Loading metrics");
for (Metric<?> metricToLoad : metricsRepository.findAll()) {
for (Metric<?> metric : metricsRepository.findAll()) {
metrics.put(metric.getClass(), metric);
}
log.info("Loaded {} metrics", metrics.size());
}