mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 00:17:26 +02:00
🐛 Add missing rpc-command definition on metrics
This commit is contained in:
parent
e705a333a9
commit
85ec1668f3
2 changed files with 6 additions and 1 deletions
|
@ -52,6 +52,12 @@
|
||||||
:labels ["name"]
|
:labels ["name"]
|
||||||
:type :histogram}
|
:type :histogram}
|
||||||
|
|
||||||
|
:rpc-command-timing
|
||||||
|
{:name "rpc_command_timing"
|
||||||
|
:help "RPC command method call timming."
|
||||||
|
:labels ["name"]
|
||||||
|
:type :histogram}
|
||||||
|
|
||||||
:rpc-query-timing
|
:rpc-query-timing
|
||||||
{:name "rpc_query_timing"
|
{:name "rpc_query_timing"
|
||||||
:help "RPC query method call timing."
|
:help "RPC query method call timing."
|
||||||
|
|
|
@ -204,7 +204,6 @@
|
||||||
(defn- process-method
|
(defn- process-method
|
||||||
[cfg vfn]
|
[cfg vfn]
|
||||||
(let [mdata (meta vfn)]
|
(let [mdata (meta vfn)]
|
||||||
;; (prn mdata)
|
|
||||||
[(keyword (::sv/name mdata))
|
[(keyword (::sv/name mdata))
|
||||||
(wrap cfg vfn mdata)]))
|
(wrap cfg vfn mdata)]))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue