Skip to content

Commit

Permalink
updates to node_stats for V21DB12
Browse files Browse the repository at this point in the history
  • Loading branch information
Srayman committed Apr 10, 2020
1 parent 3d531e4 commit 8572f07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions node_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ async def main():
data['active_roots_count'] = response3['node']['active']['roots']['count']
data['active_blocks_count'] = response3['node']['active']['blocks']['count']
# data['pending_conf_height_count'] = response3['node']['active']['pending_conf_height']['count']
data['active_confirmed_count'] = response3['node']['active']['confirmed']['count']
data['active_confirmed_count'] = response3['node']['active']['recently_confirmed']['count']
data['active_cemented_count'] = response3['node']['active']['recently_cemented']['count']
data['active_cementable_count'] = response3['node']['active']['priority_cementable_frontiers_count']['count']
data['inactive_votes_cache_count'] = response3['node']['active']['inactive_votes_cache_count']['count']
# data['tcp_channels_count'] = response3['node']['tcp_channels']['channels']['count']
Expand All @@ -136,7 +137,7 @@ async def main():
# data['block_processor_hashes'] = response3['node']['block_processor']['blocks_hashes']['count']
data['block_processor_forced'] = response3['node']['block_processor']['forced']['count']
# data['block_processor_rolled_back'] = response3['node']['block_processor']['rolled_back']['count']
data['block_processor_generator'] = response3['node']['block_processor']['generator']['state_blocks']['count']
# data['block_processor_generator'] = response3['node']['block_processor']['generator']['state_blocks']['count']
data['block_arrival_count'] = response3['node']['block_arrival']['arrival']['count']
data['online_reps_arrival_count'] = response3['node']['online_reps']['arrival']['count']
data['votes_cache_count'] = response3['node']['votes_cache']['cache']['count']
Expand Down

0 comments on commit 8572f07

Please sign in to comment.