-
Notifications
You must be signed in to change notification settings - Fork 913
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
base: master
Are you sure you want to change the base?
improve: Use opstatlogger for recording more details of reading from db ledger #4472
Conversation
@shoothzj PTAL, i had add a new commit |
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.
LGTM.
@ethqunzhong Please fix the check style, thanks. |
bc971e5
to
68d55fc
Compare
@hangc0276 updated. thx~ |
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.
LGTM
parent = READ_ENTRY | ||
) | ||
private final Counter readFromEntryLogTime; | ||
private final OpStatsLogger readFromEntryLogTime; |
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.
Break change for metric readFromEntryLogTime, I think this may need to send the mail vote. @eolivelli @dlg99 , please help evaluate it.
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.
Break change for metric readFromEntryLogTime, I think this may need to send the mail vote. @eolivelli @dlg99 , please help evaluate it.
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
