From 57f37bc7a0e3c515d43b97be6c537836f69be0c0 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov <evgeniy@nspcc.ru> Date: Wed, 25 Mar 2020 13:03:47 +0300 Subject: [PATCH] rpc: add metrics for invoke* RPCs --- pkg/rpc/server/prometheus.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/rpc/server/prometheus.go b/pkg/rpc/server/prometheus.go index 1a494dd70..caee0abab 100644 --- a/pkg/rpc/server/prometheus.go +++ b/pkg/rpc/server/prometheus.go @@ -33,6 +33,9 @@ var ( "getunspents", "getvalidators", "getversion", + "invoke", + "invokefunction", + "invokescript", "sendrawtransaction", "submitblock", "validateaddress",