Closed thepalbi closed 2 years ago
I am receiving less errors when starting with using mainnet with infura
parity metrics
: it says in the readme that they are only available for OpenEthereum.
eth_block_timestamp
: need to change an int parameter to bool and then it works.
eth_sync
: It is not failing, it's returned not syncing beause the node seems not be synced.
I can try to make a PR tomorrow to fix all of the other errors and try to find a better solution for the sync ones.
Expected errors after PR changes using Infura:
exporter_1 | * error collecting metric Desc{fqName: "parity_net_active_peers", help: "number of active peers", constLabels: {}, variableLabels: []}: parity metrics are only available in OpenEthereum: The method parity_netPeers does not exist/is not available
exporter_1 | * error collecting metric Desc{fqName: "parity_net_connected_peers", help: "number of peers currently connected to this client", constLabels: {}, variableLabels: []}: parity metrics are only available in OpenEthereum: The method parity_netPeers does not exist/is not available
exporter_1 | * error collecting metric Desc{fqName: "eth_sync_starting", help: "block number at which current import started", constLabels: {}, variableLabels: []}: not syncing
exporter_1 | * error collecting metric Desc{fqName: "eth_sync_current", help: "number of most recent block", constLabels: {}, variableLabels: []}: not syncing
exporter_1 | * error collecting metric Desc{fqName: "eth_sync_highest", help: "estimated number of highest block", constLabels: {}, variableLabels: []}: not syncing
Whenever running the exporter, in whichever network, some metrics keep failing.
Maybe because this was originally designed for OpenEthereum?