-
Notifications
You must be signed in to change notification settings - Fork 3
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: metrics for bs tracker #179
Conversation
unbondingTracker: NewTrackedDelegations(), | ||
pendingTracker: NewTrackedDelegations(), | ||
inProgressTracker: NewTrackedDelegations(), | ||
verifiedInsufficientConfTacker: NewTrackedDelegations(), | ||
verifiedNotInChainTracker: NewTrackedDelegations(), |
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.
this seems quite expensive to keep in memory
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.
if we are okay with keeping track of all of this state I am good to approve
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.
Those 2 extra maps are adding each 1mb per 10k entries, I think we should be fine. Note we are using AddEmptyDelegation
for adding
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.
good point
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.
utACK
Adds 2 new metrics for bs tracker closes #172
Adds 2 new metrics for bs tracker
closes #172