You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Overview
Sequencer specific metrics (GasPrice, LastBlobSize, TransactionStatus,
TransactionStatus, IncludedBlockHeight) were not displayed on the
prometheus metrics endpoint.
Only rollkit_sequencer_* (block_size, height,
latest_block_height,num_txs,total_txs) were displayed.
This PR update the evm-single run command to include missing metrics.
```bash
curl -s localhost:26660/metrics | grep -i pending
# HELP sequencer_num_pending_blocks The number of pending blocks for DA submission.
# TYPE sequencer_num_pending_blocks gauge
sequencer_num_pending_blocks{chain_id="rollkit-test"} 7
```
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced metrics reporting for sequencer operations, including updates
after data availability submissions and block height changes.
- Introduced a public method for recording sequencer metrics, providing
more detailed tracking of gas price, blob size, transaction status,
pending blocks, and block heights.
- Added a standardized interface to unify metrics recording across
components.
- **Tests**
- Added comprehensive tests to verify metrics recording during data
availability submissions and block height increments.
- Introduced mocks and test coverage to ensure metrics integration
behaves correctly under various scenarios.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments