From 56dbb94aaf41731cdea12f85d5c5784f6538eb9c Mon Sep 17 00:00:00 2001 From: Mitchell Herrijgers Date: Fri, 3 Jan 2025 15:31:36 +0000 Subject: [PATCH] Add processing latency to the client Measures the time between the currently processing message and the current clock. This will allow us to detect stalled segments, as this time will increase for every report. Before, we only had ingest latency, but this will no longer show after 30 minutes. In addition, the nature of that metric does not allow it to increase. It will remain fixed during the processing. --- console-framework-client-api/pom.xml | 4 +- .../framework/api/eventProcessorApi.kt | 3 +- .../pom.xml | 4 +- console-framework-client/pom.xml | 4 +- .../eventprocessor/ProcessorReportCreator.kt | 3 +- .../AxoniqConsoleProcessorInterceptor.kt | 33 ++++++++------- .../metrics/ProcessorMetricsRegistry.kt | 40 ++++++++++++++++--- pom.xml | 4 +- 8 files changed, 66 insertions(+), 29 deletions(-) diff --git a/console-framework-client-api/pom.xml b/console-framework-client-api/pom.xml index 2e3bad3..d89f386 100644 --- a/console-framework-client-api/pom.xml +++ b/console-framework-client-api/pom.xml @@ -1,6 +1,6 @@