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

chore: added metrics for total proofs and remaining proofs per epoch. #3181

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

darshankabariya
Copy link
Contributor

@darshankabariya darshankabariya commented Nov 26, 2024

This PR adds two Grafana panels: one displays the total number of RLN proofs generated till now, and the other shows the remaining RLN proofs per epoch. These panels enable users to monitor the available proofs for the upcoming minutes effectively.

close #3024

Copy link

github-actions bot commented Nov 26, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3181

Built from a207973

@darshankabariya darshankabariya changed the title chore: Grafana panal for remaining proof per epoch chore: grafana panal for remaining proof per epoch Nov 26, 2024
Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much! I see the new metrics, but where are the panels mentioned in the PR description?

@@ -62,6 +62,16 @@ declarePublicGauge(
"time taken to import membership credentials",
)

declarePublicCounter(
waku_rln_proofs_generated_total,
"number of RLN proofs generated by this light client for the current epoch",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this isn't for light clients specifically

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! will improve terminology.

@darshankabariya
Copy link
Contributor Author

Thanks so much! I see the new metrics, but where are the panels mentioned in the PR description?

Actually, I also raised a PR for the nwaku-compose repository to address the dashboard. I thought it would be better to get approval there first and then copy it here.

@gabrielmer
Copy link
Contributor

Actually, I also raised a PR for the nwaku-compose repository to address the dashboard. I thought it would be better to get approval there first and then copy it here.

Oh got it! So better to change this PR name to reflect that what you're adding here are metrics and not a Grafana panel

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@darshankabariya darshankabariya changed the title chore: grafana panal for remaining proof per epoch chore: added metrics for total proofs and remaining proofs per epoch. Nov 28, 2024
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

Successfully merging this pull request may close these issues.

chore: create new RLN Grafana panel that counts the number of attached proofs per light client
2 participants