Skip to content

Commit

Permalink
adjustments to counters for V21.2DB1
Browse files Browse the repository at this point in the history
  • Loading branch information
Srayman committed Aug 28, 2020
1 parent 7c30946 commit a5c55dc
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 @@ -125,8 +125,9 @@ async def main():
# data['pending_conf_height_count'] = response3['node']['active']['pending_conf_height']['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['expired_optimistic_election_count'] = response3['node']['active']['expired_optimistic_election_infos']['count']
data['active_cementable_count'] = response3['node']['active']['priority_cementable_frontiers']['count']
data['inactive_votes_cache_count'] = response3['node']['active']['inactive_votes_cache']['count']
# data['tcp_channels_count'] = response3['node']['tcp_channels']['channels']['count']
# data['tcp_channels_attempts_count'] = response3['node']['tcp_channels']['attempts']['count']
data['excluded_peers'] = response3['node']['network']['excluded_peers']['peers']['count']
Expand Down

0 comments on commit a5c55dc

Please sign in to comment.