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

Analyse Cluster Participation #821

Closed
dB2510 opened this issue Jul 20, 2022 · 1 comment
Closed

Analyse Cluster Participation #821

dB2510 opened this issue Jul 20, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@dB2510
Copy link
Contributor

dB2510 commented Jul 20, 2022

Problem to be solved

We have a tracker component which consumes events from other components in core workflow. Tracker needs to analyse and instrument the events to find out which peers are participating in the cluster. This will help our operators to determine cluster health and notify other peers if they are not participating.

Proposed solution

Tracker will analyse the events to calculate which peers participated by:

  • If we receive parSigDBInternal event then we participated.
  • If we receive an parSigEx event with a given shareIdx, then that peer participated.
  • Return all participated peers by shareIdx (including ourselves).

Tracker will report the result as:

  • Only log (INFO level) which peers didn't participated and do not repeat identical logs if same set of participants didn't participate in next duty report to avoid spamming.
  • Set a prometheus gauge vector per peer: participationGauge.WithLabelValues(duty.Type.String(), peerName).Set(participatedBool)
@dB2510 dB2510 added the enhancement New feature or request label Jul 20, 2022
obol-bulldozer bot pushed a commit that referenced this issue Jul 25, 2022
Implements analyse cluster participation and participation reporter to calculate cluster participation based on partial signatures exchanged and instruments the results.

category: feature
ticket: #821
@dB2510
Copy link
Contributor Author

dB2510 commented Jul 26, 2022

Closed by #846

@dB2510 dB2510 closed this as completed Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants