mina
mina copied to clipboard
Snark work production dashboard
Develop a better dashboard charts to monitor the snark work production healthiness.
Context
Snark work production is a complicated process which has a great impact on overall healthiness of the network, most importantly on whether transactions from transaction pool get included into blocks as early as possible.
Some recent behavior on mainnet suggests that snark work production might be non-optimal leading to non-full blocks at the time of transaction pool being stocked with valid transactions.
Metrics
Add a Grafana metric that reports how many transactions could be taken (even if above the 128 tx limit) before block producer runs out of snark works. Metric is updated with every change of the snark pool or per interval if it's easier to implement.
Check that there are metrics on:
- [ ] Transaction pool size
- [x] Number of transactions in the best tip
Dashboard
Configure a dashboard with three plots showing data from different nodes:
- Sequential snark works available (new metric)
- Transaction pool size
- Number of transactions in the last block (already exists)