Class SubmissionControllerMonitor


  • @Component
    @ConfigurationProperties(prefix="services.submission.monitoring")
    public class SubmissionControllerMonitor
    extends Object
    Provides functionality for monitoring the application logic of the SubmissionController.
    • Constructor Detail

      • SubmissionControllerMonitor

        protected SubmissionControllerMonitor​(io.micrometer.core.instrument.MeterRegistry meterRegistry,
                                              SubmissionServiceConfig submissionServiceConfig)
        Constructor for SubmissionControllerMonitor. Initializes all counters to 0 upon being called.
        Parameters:
        meterRegistry - the meterRegistry
    • Method Detail

      • initializeGauges

        public void initializeGauges​(SubmissionController submissionController)
        Initializes the gauges for the SubmissionController that is being monitored. Currently, only the delay time of fake requests is measured.
        Parameters:
        submissionController - the submission controller for which the gauges shall be initialized
      • incrementRequestCounter

        public void incrementRequestCounter()
      • incrementRealRequestCounter

        public void incrementRealRequestCounter()
      • incrementFakeRequestCounter

        public void incrementFakeRequestCounter()
      • incrementInvalidTanRequestCounter

        public void incrementInvalidTanRequestCounter()