Skip to content

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 ethqunzhong requested a review from hezhangjian July 26, 2024 02:51
@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~

Copy link
Member

@StevenLuMT StevenLuMT left a 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;
Copy link
Member

@StevenLuMT StevenLuMT Feb 15, 2025

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.

Copy link
Member

@StevenLuMT StevenLuMT left a 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.

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.

4 participants