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

improve: Use opstatlogger for recording more details of reading from db ledger #4472

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

Conversation

ethqunzhong
Copy link
Contributor

Motivation

In order to more accurately observe the latency distribution of reading entries from the db ledger storage engine (includes: read_locations_index, read_entrylog, readahead)

Changes

read_locations_index, read_entrylog, and readahead metrics types are adjusted from Counter to OpStatsLogger.

Adjustment before and after as follows
image

@ethqunzhong
Copy link
Contributor Author

@shoothzj PTAL, i had add a new commit

Copy link
Contributor

@hangc0276 hangc0276 left a comment

Choose a reason for hiding this comment

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

LGTM.

@hangc0276
Copy link
Contributor

@ethqunzhong Please fix the check style, thanks.

@ethqunzhong ethqunzhong force-pushed the update-dbledgerstoragestats-metrics branch from bc971e5 to 68d55fc Compare August 20, 2024 03:06
@ethqunzhong
Copy link
Contributor Author

@ethqunzhong Please fix the check style, thanks.

@hangc0276 updated. thx~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants