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

[HBAR Rate Limit Redesign] Add a counter to expose DAU metrics. #3109

Closed
1 of 2 tasks
quiet-node opened this issue Oct 16, 2024 · 0 comments · Fixed by #3150
Closed
1 of 2 tasks

[HBAR Rate Limit Redesign] Add a counter to expose DAU metrics. #3109

quiet-node opened this issue Oct 16, 2024 · 0 comments · Fixed by #3150
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@quiet-node
Copy link
Member

quiet-node commented Oct 16, 2024

Problem

Currently, there is no metrics to track how many DAUs interact with the Relay on daily basis.

Solution

  • Add a counter (Prometheus counter) to track unique ETH addresses, and decide how often to reset it (possibly based on HBAR_RATE_LIMIT_DURATION).
  • Once the counter is exposed, add a visual representation of it in the dashboard.
  • Two possible metrics:
    • DAUs (Daily Active Users) across all APIs.
    • DAUs for eth_sendRawTransaction(). This could potentially be added alongside the HbarLimiter service when a new HbarSpendingPlan is created.

Alternatives

No response

Tasks

  1. enhancement
    nadezhdapopovaa
@quiet-node quiet-node added the enhancement New feature or request label Oct 16, 2024
@quiet-node quiet-node added this to the 0.59.0 milestone Oct 16, 2024
@quiet-node quiet-node changed the title [HBAR Rate Limit Redesign] Add a counter to expose the DAUs metrics [HBAR Rate Limit Redesign] Add a counter to expose DAU metrics. Oct 16, 2024
@quiet-node quiet-node moved this from Backlog to Sprint Backlog in Smart Contract Sprint Board Oct 16, 2024
@nadezhdapopovaa nadezhdapopovaa self-assigned this Oct 22, 2024
@nadezhdapopovaa nadezhdapopovaa linked a pull request Oct 23, 2024 that will close this issue
2 tasks
@quiet-node quiet-node modified the milestones: 0.59.0, 0.61.0 Nov 11, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Smart Contract Sprint Board Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants