mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 17:51:39 +02:00
Merge pull request #3103 from penpot/niwinz-bugfixes-3
🐛 Fix incorrect metrics reference on rpc methods middleware
This commit is contained in:
commit
7ebc185b3a
1 changed files with 1 additions and 1 deletions
|
@ -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)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue