Closed dsaingre closed 3 years ago
Most metrics revolve around networking and block processing. Since you have a single node, there's no networking, and since you are mining your own blocks, there's no block import :D We don't have metrics in the miner, not something too relevant in the grand scheme of things.
OK I get it, I though that miners too would use block processing related metrics. I guess I just need to have a second, non mining node to get access to those metrics. Thanks for the prompt answer!
Hi, My goal is to be able to get access to the average time taken by a private PoA (Clique) geth node to execute all transactions in a block. I was wondering what could be the best metric for this matter? I've activated the metric server and can have access to metrics like
chain/head/block
(number of highest block) andtxpool/pending
(number of pending transactions) but most metrics stay at0
.For instance:
chain/inserts
,chain/validation
,chain/execution
andchain/write
timers (that seems to be what I am looking for) stay at a value of0
. If fact, most of my metrics stays at 0 (see provided file: metrics.txt ).Is this normal to have so many
0
s metrics? Is there any metrics to get access to average block execution time?(P.S: I chose the
question
issue type as I'm not sure if this is a bug or just a misusage on my side).Network description
Only one PoA Eth. Transactions are generated by a python script. Transactions are indeed processed and included in blocs. Everything seems to work.
Geth command
(executed in a docker environment)
Geth Version