update example player
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m44s

This commit is contained in:
Lee
2024-04-14 17:32:23 +01:00
parent 3b946132af
commit 5877b100bc
3 changed files with 2 additions and 5 deletions

View File

@ -39,8 +39,6 @@ public class MetricService {
registerMetric(new TotalRequestsMetric());
registerMetric(new RequestsPerRouteMetric());
// todo: don't bother saving and loading metrics when running tests
// Load the metrics from Redis
loadMetrics();

View File

@ -11,7 +11,6 @@ import org.springframework.data.redis.core.RedisHash;
@AllArgsConstructor
@Getter @Setter
@RedisHash(value = "metric")
@Measurement(name = "metric")
public abstract class Metric<T> {
/**
* The id of the metric.