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

FR - Add pubkey/validator index to missed attestations #52

Open
jonastra opened this issue Jun 28, 2023 · 1 comment
Open

FR - Add pubkey/validator index to missed attestations #52

jonastra opened this issue Jun 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jonastra
Copy link

Currently missed_attestations_count and double_missed_attestations_count is a simple integer.

With multiple validators deployed across different systems, it would be very useful to quickly identify which validators are affected.
Especially for alerting, it would be nice to have an array of validator indexes or pubkeys as labels.

Example:
missed_attestations_count{val_index=["val1","val2","val3","val4"]}

Then for alerting you could do something like this:

The following validators missed attestations last epoch: {{ $labels.val_index }}

@nalepae nalepae added enhancement New feature or request good first issue Good for newcomers labels Jun 28, 2023
@aimxhaisse
Copy link
Member

Hello,

We've added this feature as experimental for a while but it likely doesn't scale (each combination of slot/epoch will create a dedicated timeseries so in the long run it explodes cardinality).

We plan to instead add new metrics:

  • for the last missed attestation slot, as in, the last slot for which a slot was missed
  • for the last missed block

It won't be as precise have having the label (), but can give a ballpark as to when those where missed.

@aimxhaisse aimxhaisse self-assigned this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants