parent
d3063c26e1
commit
a746d8e6e6
6 changed files with 108 additions and 1 deletions
|
@ -179,6 +179,14 @@ var (
|
|||
},
|
||||
)
|
||||
|
||||
submitblockCalled = prometheus.NewCounter(
|
||||
prometheus.CounterOpts{
|
||||
Help: "Number of calls to submitblock rpc endpoint",
|
||||
Name: "submitblock_called",
|
||||
Namespace: "neogo",
|
||||
},
|
||||
)
|
||||
|
||||
getstorageCalled = prometheus.NewCounter(
|
||||
prometheus.CounterOpts{
|
||||
Help: "Number of calls to getstorage rpc endpoint",
|
||||
|
@ -209,6 +217,7 @@ func init() {
|
|||
gettxoutCalled,
|
||||
getrawtransactionCalled,
|
||||
sendrawtransactionCalled,
|
||||
submitblockCalled,
|
||||
getstorageCalled,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue