From 3222583a69e487872645034ba7967ac27b43e965 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 3 Apr 2023 23:07:34 +0200 Subject: [PATCH] :bug: Fix incorrect metrics reference on rpc methods middleware --- backend/src/app/rpc.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app/rpc.clj b/backend/src/app/rpc.clj index 617f0ea70..9af1f396f 100644 --- a/backend/src/app/rpc.clj +++ b/backend/src/app/rpc.clj @@ -149,7 +149,7 @@ (defn- wrap-metrics "Wrap service method with metrics measurement." - [{:keys [metrics ::metrics-id]} f mdata] + [{:keys [::mtx/metrics ::metrics-id]} f mdata] (let [labels (into-array String [(::sv/name mdata)])] (fn [cfg params] (let [tp (dt/tpoint)]