From 7db883e8b7138d29a4b6bfb93efcd55f8d829e0f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 2 Feb 2024 11:04:19 +0100 Subject: [PATCH] :bug: Fix incorrect metrics reporting on climit --- backend/src/app/rpc/climit.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc/climit.clj b/backend/src/app/rpc/climit.clj index cf2942c22..8d43a2cb5 100644 --- a/backend/src/app/rpc/climit.clj +++ b/backend/src/app/rpc/climit.clj @@ -131,8 +131,8 @@ (defn- invoke [limiter metrics limit-id limit-key limit-label profile-id f params] (let [tpoint (dt/tpoint) + mlabels (into-array String [(id->str limit-id)]) limit-id (id->str limit-id limit-key) - mlabels (into-array String [limit-id]) stats (pbh/get-stats limiter) id (.incrementAndGet ^AtomicLong idseq)]