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
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:
parent
7a50dccabd
commit
d8d4f32006
@ -86,8 +86,8 @@ public class MetricService {
|
|||||||
*/
|
*/
|
||||||
public void loadMetrics() {
|
public void loadMetrics() {
|
||||||
log.info("Loading metrics");
|
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());
|
log.info("Loaded {} metrics", metrics.size());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user