Skip to content
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

app: add metric for threshold and num validators #1063

Merged
merged 5 commits into from
Aug 31, 2022

Conversation

xenowits
Copy link
Contributor

@xenowits xenowits commented Aug 31, 2022

Add metric for threshold, num_validators and peer_name.

category: misc
ticket: ObolNetwork/charon-distributed-validator-node#65

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #1063 (d63b082) into main (6af067f) will decrease coverage by 0.36%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1063      +/-   ##
==========================================
- Coverage   53.78%   53.42%   -0.37%     
==========================================
  Files         125      125              
  Lines       13971    13974       +3     
==========================================
- Hits         7514     7465      -49     
- Misses       5398     5453      +55     
+ Partials     1059     1056       -3     
Impacted Files Coverage Δ
app/app.go 58.94% <100.00%> (-0.59%) ⬇️
app/metrics.go 100.00% <100.00%> (ø)
core/qbft/qbft.go 71.03% <0.00%> (-10.52%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@xenowits
Copy link
Contributor Author

Screenshot 2022-08-31 at 2 07 55 PM

app/metrics.go Outdated
@@ -55,11 +69,13 @@ var (
})
)

func initStartupMetrics(lockHash string) {
func initStartupMetrics(lockHash string, threshold, numValidators int) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add one for peer_name as well 🙏

@xenowits
Copy link
Contributor Author

Screenshot 2022-08-31 at 6 58 37 PM

The update simnet dashboard.

@xenowits xenowits added merge when ready Indicates bulldozer bot may merge when all checks pass and removed merge when ready Indicates bulldozer bot may merge when all checks pass labels Aug 31, 2022
@xenowits xenowits added the merge when ready Indicates bulldozer bot may merge when all checks pass label Aug 31, 2022
@obol-bulldozer obol-bulldozer bot merged commit d3ae2c2 into main Aug 31, 2022
@obol-bulldozer obol-bulldozer bot deleted the xenowits/add-t-n-grafana branch August 31, 2022 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants