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
The metrics exporter doesn't properly handle Reth's stage-based sync status format, resulting in sync percentage showing as NaN and incorrect sync blocks.
Current Output
When using Reth, the /metrics endpoint shows:
eth_exe_sync_current_block{ethereum_role="execution",module="sync",node_name="execution"} 0
eth_exe_sync_highest_block{ethereum_role="execution",module="sync",node_name="execution"} 0
eth_exe_sync_percentage{ethereum_role="execution",module="sync",node_name="execution"} NaN
eth_exe_sync_is_syncing{ethereum_role="execution",module="sync",node_name="execution"} 1
How to Reproduce
Run metrics exporter with Reth as execution client
Check eth_syncing RPC endpoint response from Reth:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' http://localhost:8545
Problem
The metrics exporter doesn't properly handle Reth's stage-based sync status format, resulting in sync percentage showing as NaN and incorrect sync blocks.
Current Output
When using Reth, the /metrics endpoint shows:
How to Reproduce
Reth returns stage-based format:
Additional Context
Reth also exposes sync progress via its own metrics:
This could be an alternative data source for calculating sync progress.
Environment
The text was updated successfully, but these errors were encountered: