Closed otherview closed 5 months ago
Attention: Patch coverage is 72.52747%
with 75 lines
in your changes are missing coverage. Please review.
Project coverage is 57.55%. Comparing base (
e42227b
) to head (6dd8cdf
). Report is 17 commits behind head on pedro/add_metrics.:exclamation: Current head 6dd8cdf differs from pull request most recent head 9735a3d. Consider uploading reports for the commit 9735a3d to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Adds metrics to other parts of the code. Based on https://github.com/vechain/protocol-board-repo/issues/119
Adds
Gauge
meterAdds following metrics:
block_bft_committed_count [ finalized, proposed ]
block_proposed_duration_ms [ failed, proposed ]
block_proposed_count [ failed, proposed ]
block_proposed_tx_count
block_received_duration_ms [ failed, proposed ]
block_received_count [ failed, proposed ]
block_received_processed_tx_count
chain_fork_count
chain_fork_size
p2p_connected_peers_count
p2p_discovered_node_count
p2p_dial_new_node_count
txpool_current_tx_count [ remote, local ] [ total ]
Type of change
How Has This Been Tested?
No changes to current running code.
Checklist: