-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/multikey metrics #5362
Feat/multikey metrics #5362
Conversation
Managed peers monitor
New API endpoints for managed keys
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## rc/v1.6.0 #5362 +/- ##
=============================================
+ Coverage 79.97% 80.00% +0.03%
=============================================
Files 703 704 +1
Lines 92672 92828 +156
=============================================
+ Hits 74113 74270 +157
- Misses 13241 13242 +1
+ Partials 5318 5316 -2
☔ View full report in Codecov by Sentry. |
Update metrics for managed keys
…into merge_rc160_into_feat_multikey_metrics_2023.06.22
…ey_metrics_2023.06.22 Merge rc160 into feat multikey metrics 2023.06.22
@@ -1043,6 +1043,7 @@ func (sp *shardProcessor) CommitBlock( | |||
highestFinalBlockNonce, | |||
lastCrossNotarizedHeader, | |||
header, | |||
sp.managedPeersHolder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you forgot to set the managedPeersHolder value and is always nil. Failed at system testnet.
Please add this line on L121:
managedPeersHolder: arguments.ManagedPeersHolder
something similar to what we have on metablock.go L137
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️ fixed in #5371
…alization Fix managed peers holder initialization
All managed keys endpoint
…into merge_rc160_into_feat_multikey_metrics_2023.06.26
…ey_metrics_2023.06.26 Merge rc160 into feat multikey metrics 2023.06.26
…into merge_rc160_into_feat_multikey_metrics_2023.07.07 # Conflicts: # errors/errors.go
…ey_metrics_2023.07.07 Merge rc160 into feat multikey metrics 2023.07.07
…into merge_rc160_into_feat_multikey_metrics_2023.07.10
…ey_metrics_2023.07.10 Merge rc160 into feat multikey metrics 2023.07.10
…into merge_rc160_into_feat_multikey_metrics_2023.05.11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System test passed.
@@ Log scanner @@
multikey_metrics
================================================================================
- Known Warnings 12
- New Warnings 4
- Known Errors 1
- New Errors 1
- Panics 0
================================================================================ - block hash does not match 9345
- wrong nonce in block 4028
- miniblocks does not match 0
- num miniblocks does not match 0
- miniblock hash does not match 0
- block bodies does not match 0
- receipts hash missmatch 0
================================================================================ - No jailed nodes on the testnet
================================================================================
…ey_metrics_2023.05.11 Merge rc160 into feat multikey metrics 2023.05.11
Reasoning behind the pull request
Proposed changes
node/managed-keys/count
for the total number of managed keysnode/managed-keys
for all keys managed by the nodenode/managed-keys/eligible
for the eligible keys managed, in the current epoch, from the same shard as the nodenode/managed-keys/waiting
for the waiting keys managed, in a the current epoch, from the same shard as the nodeTesting procedure
erd_count_consensus
,erd_consensus_state
,erd_count_consensus_accepted_blocks
,erd_count_leader
,erd_consensus_round_state
,Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?