From 0bdcb44479b04411574df4c06e16062802822aa2 Mon Sep 17 00:00:00 2001 From: Davy De Waele Date: Wed, 24 Feb 2021 09:03:49 +0100 Subject: [PATCH] CBA-515: removed unused metrics on test result level for pos/neg counting --- .../testresult/monitoring/TestRequestMonitor.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/app/coronawarn/testresult/monitoring/TestRequestMonitor.java b/src/main/java/app/coronawarn/testresult/monitoring/TestRequestMonitor.java index ce6f8db..a7ace3e 100644 --- a/src/main/java/app/coronawarn/testresult/monitoring/TestRequestMonitor.java +++ b/src/main/java/app/coronawarn/testresult/monitoring/TestRequestMonitor.java @@ -36,8 +36,6 @@ public class TestRequestMonitor { private final MeterRegistry meterRegistry; private final long batchSize; - private BatchCounter nonExistingTestRequests; - private BatchCounter dummyTestRequests; private BatchCounter positiveResponses; private BatchCounter negativeResponses; @@ -63,20 +61,10 @@ protected TestRequestMonitor( * */ private void initializeCounters() { - nonExistingTestRequests = new BatchCounter(meterRegistry, batchSize, "nonexisting"); - dummyTestRequests = new BatchCounter(meterRegistry, batchSize, "dummy"); positiveResponses = new BatchCounter(meterRegistry, batchSize, "positive"); negativeResponses = new BatchCounter(meterRegistry, batchSize, "negative"); } - public void incrementNonExistingTestRequest() { - nonExistingTestRequests.increment(); - } - - public void incrementDummyTestRequest() { - dummyTestRequests.increment(); - } - public void incrementPositiveTestResponse() { positiveResponses.increment(); }