mirror of
https://github.com/penpot/penpot.git
synced 2026-09-24 15:48:28 +08:00
🐛 Add missing rpc-command definition on metrics
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
:labels ["name"]
|
||||
:type :histogram}
|
||||
|
||||
:rpc-command-timing
|
||||
{:name "rpc_command_timing"
|
||||
:help "RPC command method call timming."
|
||||
:labels ["name"]
|
||||
:type :histogram}
|
||||
|
||||
:rpc-query-timing
|
||||
{:name "rpc_query_timing"
|
||||
:help "RPC query method call timing."
|
||||
|
||||
@@ -204,7 +204,6 @@
|
||||
(defn- process-method
|
||||
[cfg vfn]
|
||||
(let [mdata (meta vfn)]
|
||||
;; (prn mdata)
|
||||
[(keyword (::sv/name mdata))
|
||||
(wrap cfg vfn mdata)]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user