-
Notifications
You must be signed in to change notification settings - Fork 23
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
chore: grafana panel for remaining proof per epoch #138
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Niiice! Could you please add a picture of how the new dashboard looks like?
Included in the description: I generated this Grafana dashboard after running a local node. However, even after running it for over an hour, no RLN data is being displayed. |
Maybe it is because you haven't sent messages? Try sending messages from your node, that should generate RLN proofs and we should be able to see the data in the panel |
Thanks for that @darshankabariya !
|
Actually, I only added the last two panels: 'Total generated RLN proofs' and 'Remaining proofs per epoch.' However, I’m still investigating the logic behind those metrics. |
|
@darshankabariya , looking at it more carefully I think we need to adjust the underlying legend (ping me if don't find how to change it.) And aside from that, I'm curious about why the peak is happening. See below pic for both comments: |
Hi @Ivansete-status As mentioned in the PR description, this is the 'remaining proofs per epoch.' When a new epoch starts, we need to refresh the proof limit. You can see how it works here. However, while explaining the scenario, I found a bug. If a new epoch starts but no messages are sent (i.e., no proofs are generated), the counter doesn’t update because I reset it inside the proof generation function. I’ll fix that bug. Thanks for the suggestion about the underlying legend! You can see that even after a new epoch starts, there's no spike because I didn't send any messages through the chat API. |
This PR is just an update to the dashboard for this PR waku-org/nwaku#3181 and this issue waku-org/nwaku#3024.
Added two panels: