rollmint
rollmint copied to clipboard
[Feature Request]: Sequencer Metrics
Implementation ideas
I propose adding two new metrics to the sequencer:
-
MaxPendingBlocks: This would enable users to create a dynamic ratio with the existing NumPendingBlocks metric, providing better visibility into sequencer capacity. -
WalletBalance: This metric is critical as insufficient funds in the wallet could compromise rollup availability.
https://github.com/rollkit/rollkit/blob/f57fbb96f0757ba97d41865dbe1426e25e02262c/block/metrics.go#L46-L47
pending headers and data has been added
closing this as the wallet balance can be checked on a app node. Ideally we avoid doing a query to the app layer.