apollo_committer: add per-block commit latency histogram metric - #14889
apollo_committer: add per-block commit latency histogram metric#14889itamar-starkware wants to merge 1 commit into
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR SummaryLow Risk Overview Each successful block path that already calls Registration happens in Reviewed by Cursor Bugbot for commit 6b3efac. Bugbot is set up for automated code reviews on this repo. Configure here. |
8e0f49c to
ca9c6d1
Compare
c9a778b to
7213a58
Compare
ca9c6d1 to
64da3ff
Compare
7213a58 to
298adf8
Compare
64da3ff to
501db04
Compare
4dc351e to
8fc73a6
Compare
501db04 to
40ce976
Compare
yoavGrs
left a comment
There was a problem hiding this comment.
@yoavGrs made 1 comment.
Reviewable status: 0 of 5 files reviewed, 1 unresolved discussion (waiting on itamar-starkware).
crates/apollo_committer/src/committer.rs line 683 at r1 (raw file):
) { BLOCKS_COMMITTED.increment(1); TOTAL_BLOCK_DURATION.increment((durations.block * 1000.0) as u64);
I see we already have the TOTAL_BLOCK_DURATION metric.
8fc73a6 to
9df2eae
Compare
64cff66 to
881ce09
Compare
9df2eae to
40afe90
Compare
|
Previously, yoavGrs wrote…
You are right. The new metric gives you full distubition |
40afe90 to
b495b93
Compare
881ce09 to
6b3efac
Compare
yoavGrs
left a comment
There was a problem hiding this comment.
@yoavGrs reviewed 5 files and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on itamar-starkware).
crates/apollo_committer/src/committer.rs line 683 at r1 (raw file):
Previously, itamar-starkware wrote…
You are right. The new metric gives you full distubition
p50/p95/p99and not only a mean over a window. I think it gives extra info, I also want to identify a peak easily.
I can remove the old metric if you want.
If you think it's redundant, please remove it in a following PR.

No description provided.