From 60259fa6661fae154b30ffa37acf0fe7f6160b6f Mon Sep 17 00:00:00 2001 From: Dinh Anh Tuan Tran Date: Wed, 10 Jan 2024 15:00:44 +0100 Subject: [PATCH] counting severe is noise, disabled --- .../src/main/kotlin/no/nav/helse/rapids_rivers/River.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hm-rapids-and-rivers-v2-core/src/main/kotlin/no/nav/helse/rapids_rivers/River.kt b/hm-rapids-and-rivers-v2-core/src/main/kotlin/no/nav/helse/rapids_rivers/River.kt index 3b147f4..65f6b3d 100644 --- a/hm-rapids-and-rivers-v2-core/src/main/kotlin/no/nav/helse/rapids_rivers/River.kt +++ b/hm-rapids-and-rivers-v2-core/src/main/kotlin/no/nav/helse/rapids_rivers/River.kt @@ -88,7 +88,7 @@ class River(rapidsConnection: RapidsConnection, private val riverMetrics: RiverM private fun onSevere(error: MessageProblems.MessageException, context: MessageContext) { listeners.forEach { - riverMetrics.messageCounter(context.rapidName(), it.name(), "severe") + //riverMetrics.messageCounter(context.rapidName(), it.name(), "severe") // No point of counting this. it.onSevere(error, context) } }