hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
266 stars 119 forks source link

feat(reconnect): record metrics using ReconnectMapStats #14071

Open anthony-swirldslabs opened 4 days ago

anthony-swirldslabs commented 4 days ago

Description: Adding calls to ReconnectMapStats to record the new metrics related to reconnects. Please note that this is the only purpose of this PR. In this fix, the metrics are "recorded" in a default ReconnectMapStats interface implementation which is a no-op.

A future subsequent PR will inject a proper instance of the ReconnectMapStats implementation into the LearnerPushTask object so that the metrics can actually be emitted. However, this follow-up task is outside of scope of this particular PR.

Related issue(s):

Contributes to #13748

Notes for reviewer: The code builds. These changes will be properly tested once the new metrics are actually emitted.

Checklist

github-actions[bot] commented 4 days ago

Node: HAPI Test (Restart) Results

3 tests   3 :white_check_mark:  5m 26s :stopwatch: 3 suites  0 :zzz: 3 files    0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Token) Results

 20 files   20 suites   7m 36s :stopwatch: 266 tests 266 :white_check_mark: 0 :zzz: 0 :x: 341 runs  341 :white_check_mark: 0 :zzz: 0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Node Death Reconnect) Results

3 tests   3 :white_check_mark:  5m 56s :stopwatch: 3 suites  0 :zzz: 3 files    0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Crypto) Results

 24 files   24 suites   12m 8s :stopwatch: 362 tests 362 :white_check_mark: 0 :zzz: 0 :x: 369 runs  369 :white_check_mark: 0 :zzz: 0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Misc) Results

 51 files   51 suites   22m 17s :stopwatch: 357 tests 357 :white_check_mark: 0 :zzz: 0 :x: 375 runs  375 :white_check_mark: 0 :zzz: 0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Time Consuming) Results

19 tests   19 :white_check_mark:  23m 8s :stopwatch:  4 suites   0 :zzz:  4 files     0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: HAPI Test (Smart Contract) Results

 73 files   73 suites   24m 35s :stopwatch: 623 tests 623 :white_check_mark: 0 :zzz: 0 :x: 677 runs  677 :white_check_mark: 0 :zzz: 0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 4 days ago

Node: Unit Test Results

  1 540 files    1 540 suites   3h 30m 34s :stopwatch: 115 765 tests 115 706 :white_check_mark: 59 :zzz: 0 :x: 124 080 runs  124 021 :white_check_mark: 59 :zzz: 0 :x:

Results for commit dc1722f4.

:recycle: This comment has been updated with latest results.