Merge pull request #3103 from penpot/niwinz-bugfixes-3

🐛 Fix incorrect metrics reference on rpc methods middleware
This commit is contained in:
Alejandro
2023-04-04 06:46:22 +02:00
committed by GitHub

View File

@@ -149,7 +149,7 @@
(defn- wrap-metrics (defn- wrap-metrics
"Wrap service method with metrics measurement." "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)])] (let [labels (into-array String [(::sv/name mdata)])]
(fn [cfg params] (fn [cfg params]
(let [tp (dt/tpoint)] (let [tp (dt/tpoint)]