From 29addbe987c1133579cc0aaecb6c65f479325fce Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 22 Feb 2021 12:52:53 +0100 Subject: [PATCH] :sparkles: Change the metric type of rpc methods from summary to histogram. --- backend/src/app/rpc.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/app/rpc.clj b/backend/src/app/rpc.clj index 7f7237dad..af91b913e 100644 --- a/backend/src/app/rpc.clj +++ b/backend/src/app/rpc.clj @@ -105,7 +105,7 @@ {:name "rpc_query_timing" :labels ["name"] :registry (get-in cfg [:metrics :registry]) - :type :summary + :type :histogram :help "Timing of query services."}) cfg (assoc cfg ::mobj mobj)] (->> (sv/scan-ns 'app.rpc.queries.projects @@ -124,7 +124,7 @@ {:name "rpc_mutation_timing" :labels ["name"] :registry (get-in cfg [:metrics :registry]) - :type :summary + :type :histogram :help "Timing of mutation services."}) cfg (assoc cfg ::mobj mobj)] (->> (sv/scan-ns 'app.rpc.mutations.demo