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 New Metric for Total number of slots assigned to validator #14

Open
garceri opened this issue Oct 13, 2022 · 2 comments
Open

Add New Metric for Total number of slots assigned to validator #14

garceri opened this issue Oct 13, 2022 · 2 comments

Comments

@garceri
Copy link

garceri commented Oct 13, 2022

Would it be possible to export a new metric containing the total number of leader slots assigned to the validator for the current epoch ? It would be also useful to know the next-assigned slot.

@garceri garceri changed the title Add Total number of slots assigned to validator Add New Metric for Total number of slots assigned to validator Oct 13, 2022
@garceri
Copy link
Author

garceri commented Oct 19, 2022

The code seems to be there at https://github.com/Chainflow/solana-mission-control/blob/main/monitor/leader_slots.go but it's incomplete and not used anywhere else.
To be specific, the call to GetLeaderSchedule RPC API is incomplete and needs to have the validator private key passed to it.

@cfl0ws
Copy link
Contributor

cfl0ws commented Oct 19, 2022

@NagaTulasi could you please have a look at this?

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

No branches or pull requests

2 participants