mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 00:19:07 -05:00
✨ Change the metric type of rpc methods from summary to histogram.
This commit is contained in:
parent
19f098359b
commit
29addbe987
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@
|
||||||
{:name "rpc_query_timing"
|
{:name "rpc_query_timing"
|
||||||
:labels ["name"]
|
:labels ["name"]
|
||||||
:registry (get-in cfg [:metrics :registry])
|
:registry (get-in cfg [:metrics :registry])
|
||||||
:type :summary
|
:type :histogram
|
||||||
:help "Timing of query services."})
|
:help "Timing of query services."})
|
||||||
cfg (assoc cfg ::mobj mobj)]
|
cfg (assoc cfg ::mobj mobj)]
|
||||||
(->> (sv/scan-ns 'app.rpc.queries.projects
|
(->> (sv/scan-ns 'app.rpc.queries.projects
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
{:name "rpc_mutation_timing"
|
{:name "rpc_mutation_timing"
|
||||||
:labels ["name"]
|
:labels ["name"]
|
||||||
:registry (get-in cfg [:metrics :registry])
|
:registry (get-in cfg [:metrics :registry])
|
||||||
:type :summary
|
:type :histogram
|
||||||
:help "Timing of mutation services."})
|
:help "Timing of mutation services."})
|
||||||
cfg (assoc cfg ::mobj mobj)]
|
cfg (assoc cfg ::mobj mobj)]
|
||||||
(->> (sv/scan-ns 'app.rpc.mutations.demo
|
(->> (sv/scan-ns 'app.rpc.mutations.demo
|
||||||
|
|
Loading…
Add table
Reference in a new issue