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

Add previous epoch participation metrics #7142

Merged
merged 4 commits into from
Aug 31, 2020
Merged

Conversation

terencechain
Copy link
Member

What type of PR is this?

Feature

What does this PR do? Why is it needed?
Adding these metrics as we found them useful in other clients.

  • beacon_prev_epoch_active_gwei
  • beacon_prev_epoch_source_gwei
  • beacon_prev_epoch_target_gwei
  • beacon_prev_epoch_head_gwei

The metrics tracking doc: https://hackmd.io/D5FmoeFZScim_squBFl8oA

Which issues(s) does this PR fix?

Fixes #

Other notes for review

@terencechain terencechain requested a review from a team as a code owner August 30, 2020 21:36
@terencechain terencechain self-assigned this Aug 30, 2020
@codecov
Copy link

codecov bot commented Aug 30, 2020

Codecov Report

Merging #7142 into master will increase coverage by 1.58%.
The diff coverage is 70.33%.

@@            Coverage Diff             @@
##           master    #7142      +/-   ##
==========================================
+ Coverage   60.07%   61.65%   +1.58%     
==========================================
  Files         323      406      +83     
  Lines       27422    32152    +4730     
==========================================
+ Hits        16473    19823    +3350     
- Misses       8733     9512     +779     
- Partials     2216     2817     +601     

@terencechain
Copy link
Member Author

A good follow up task is to use these metrics in e2e. cc @0xKiwi

@terencechain terencechain merged commit b538f50 into master Aug 31, 2020
@delete-merged-branch delete-merged-branch bot deleted the mo-participation-metrics branch August 31, 2020 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants