0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-11 06:21:30 -05:00

🐛 Add missing rpc-command definition on metrics

This commit is contained in:
Andrey Antukh 2022-08-25 11:46:32 +02:00
parent e705a333a9
commit 85ec1668f3
2 changed files with 6 additions and 1 deletions

View file

@ -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."

View file

@ -204,7 +204,6 @@
(defn- process-method
[cfg vfn]
(let [mdata (meta vfn)]
;; (prn mdata)
[(keyword (::sv/name mdata))
(wrap cfg vfn mdata)]))