Open Northa opened 2 weeks ago
https://github.com/dymensionxyz/dymint/blob/ed72d9b5c6dd28bb5a02ebb7a536b664facb2121/block/submit.go#L80-L85
During some internal tests i noticed that rollapp_pending_submissions_skew_batches metric not updating in real time.
rollapp_pending_submissions_skew_batches
Steps to reproduce.
possible fix: https://github.com/Northa/dymint/commit/9c6806638f1e67341557e0825e756b4ff2662b15
UPDATE2: When it comes to pause block production due to too many batches are pending submission metrics are not updating as well. Affected metrics
pause block production
too many batches are pending submission
rollapp_pending_submissions_skew_bytes rollapp_pending_submissions_skew_batches rollapp_pending_submissions_skew_blocks
time="Nov 12 13:45:31.686" level=error msg="Enough bytes to build a batch have been accumulated, but too many batches are pending submission. Pausing block production until a signal is consumed.[]" module=block_manager
Not sure but probably metrics must be updated there https://github.com/dymensionxyz/dymint/blob/30a84dfb75902ed54c6f5a89d663f0f54e0b6af8/block/submit.go#L129-L131
https://github.com/dymensionxyz/dymint/blob/ed72d9b5c6dd28bb5a02ebb7a536b664facb2121/block/submit.go#L80-L85
During some internal tests i noticed that
rollapp_pending_submissions_skew_batches
metric not updating in real time.Steps to reproduce.
rollapp_pending_submissions_skew_batches
metric.possible fix: https://github.com/Northa/dymint/commit/9c6806638f1e67341557e0825e756b4ff2662b15
UPDATE2: When it comes to
pause block production
due totoo many batches are pending submission
metrics are not updating as well. Affected metricstime="Nov 12 13:45:31.686" level=error msg="Enough bytes to build a batch have been accumulated, but too many batches are pending submission. Pausing block production until a signal is consumed.[]" module=block_manager
Not sure but probably metrics must be updated there https://github.com/dymensionxyz/dymint/blob/30a84dfb75902ed54c6f5a89d663f0f54e0b6af8/block/submit.go#L129-L131