mina icon indicating copy to clipboard operation
mina copied to clipboard

Snark work production dashboard

Open georgeee opened this issue 8 months ago • 1 comments

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:

  1. Sequential snark works available (new metric)
  2. Transaction pool size
  3. Number of transactions in the last block (already exists)

georgeee avatar Jun 24 '24 14:06 georgeee