-
Notifications
You must be signed in to change notification settings - Fork 776
Separate subnet stake connected health and metrics from P-chain #1358
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
Merged
Merged
Changes from 31 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
fbb8220
move percent connected health checks and metrics to handlers
ceyonur 46335b0
add & fix tests
ceyonur 9992c4d
move stake metrics to state
ceyonur 359195a
Merge branch 'dev' into tag-stake-connected-health
ceyonur 185a97d
Merge branch 'dev' into tag-stake-connected-health
ceyonur d52875d
use contains
ceyonur 7286e88
Update snow/context.go
ceyonur 327b157
expand peer tracker for total weight & use it in handler
ceyonur 003f0b0
remove duplicate code
ceyonur 8243dd7
Merge branch 'dev' into tag-stake-connected-health
ceyonur 5756f92
move UntilUnstake metrics to platformvm
ceyonur 4c2cbef
Merge branch 'tag-stake-connected-health' of github.com:ava-labs/aval…
ceyonur 98ebbd1
Merge branch 'dev' into tag-stake-connected-health
ceyonur 1eda131
use peerTracker instead of validators for weight
ceyonur 20d7302
move min stake calculation to consensus params
ceyonur 3b2f91b
fix race in percent calculation
ceyonur df87993
nit
StephenButtolph 647a306
nit
StephenButtolph 696da19
nit
StephenButtolph 467ea62
Remove unsafe exported function + potential deadlock
StephenButtolph a1e6df4
nit
StephenButtolph 317ba04
nits
StephenButtolph 1dc5034
nit
StephenButtolph 225136b
nit
StephenButtolph 60dad1b
cleanup chain manager slightly
StephenButtolph c348b2e
Merge branch 'dev' into tag-stake-connected-health
StephenButtolph 108a634
Merge branch 'dev' into tag-stake-connected-health
abi87 58cf93c
merged
StephenButtolph ce45da6
make metric update async
StephenButtolph 09eca53
reduce diff
StephenButtolph ba65433
reduce diff
StephenButtolph d9bc124
lint
StephenButtolph 52efbab
merged
StephenButtolph 2841bf8
fixes from code review
StephenButtolph 31be198
Merge branch 'dev' into tag-stake-connected-health
hexfusion fbcfc49
Merge branch 'dev' into tag-stake-connected-health
StephenButtolph 775ca0e
Merge branch 'dev' into tag-stake-connected-health
StephenButtolph File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.