mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
parent
8141d49e5a
commit
42e2aff381
5 changed files with 174 additions and 1 deletions
|
@ -43,6 +43,14 @@ var (
|
|||
},
|
||||
)
|
||||
|
||||
getblockheaderCalled = prometheus.NewCounter(
|
||||
prometheus.CounterOpts{
|
||||
Help: "Number of calls to getblockheader rpc endpoint",
|
||||
Name: "getblockheader_called",
|
||||
Namespace: "neogo",
|
||||
},
|
||||
)
|
||||
|
||||
getblocksysfeeCalled = prometheus.NewCounter(
|
||||
prometheus.CounterOpts{
|
||||
Help: "Number of calls to getblocksysfee rpc endpoint",
|
||||
|
@ -171,6 +179,7 @@ func init() {
|
|||
getbestblockCalled,
|
||||
getblockcountCalled,
|
||||
getblockHashCalled,
|
||||
getblockheaderCalled,
|
||||
getblocksysfeeCalled,
|
||||
getconnectioncountCalled,
|
||||
getcontractstateCalled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue