Class SubmissionMonitor
- java.lang.Object
-
- app.coronawarn.server.services.submission.monitoring.SubmissionMonitor
-
@Component @ConfigurationProperties(prefix="services.submission.monitoring") public class SubmissionMonitor extends Object
Provides functionality for monitoring the diagnosis key submission handling logic.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubmissionMonitor(io.micrometer.core.instrument.MeterRegistry meterRegistry, SubmissionServiceConfig submissionServiceConfig, FakeDelayManager fakeDelayManager)
Constructor forSubmissionMonitor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
incrementFakeRequestCounter()
void
incrementInvalidTanRequestCounter()
void
incrementRealRequestCounter()
void
incrementRequestCounter()
-
-
-
Constructor Detail
-
SubmissionMonitor
protected SubmissionMonitor(io.micrometer.core.instrument.MeterRegistry meterRegistry, SubmissionServiceConfig submissionServiceConfig, FakeDelayManager fakeDelayManager)
Constructor forSubmissionMonitor
. Initializes all counters to 0 upon being called.- Parameters:
meterRegistry
- the meterRegistryfakeDelayManager
- the fake delay manager whose fake delay will be monitored
-
-