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

Wrong validators connected metric #5170

Open
twoeths opened this issue Feb 20, 2023 · 0 comments
Open

Wrong validators connected metric #5170

twoeths opened this issue Feb 20, 2023 · 0 comments
Labels
scope-metrics All issues with regards to the exposed metrics.

Comments

@twoeths
Copy link
Contributor

twoeths commented Feb 20, 2023

Describe the bug

Once a validator is connected to a beacon node, beacon node always count that validator as "connected" forever event through the validator is turned off or switched to another beacon node

Screen Shot 2023-02-20 at 11 07 49

Metric name is validator_monitor_validators

For the context: https://discord.com/channels/593655374469660673/743858262864167062/1072481654158938173

Expected behavior
Should not count the validator if it's disconnected from the beacon node for a while

See

validators.set(index, {index, summaries: new Map<Epoch, EpochSummary>(), inSyncCommitteeUntilEpoch: -1});

@dapplion dapplion added the scope-metrics All issues with regards to the exposed metrics. label Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope-metrics All issues with regards to the exposed metrics.
Projects
None yet
Development

No branches or pull requests

2 participants