-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[consensus] Fix proposer_delay_proposal histogram buckets #19474
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -405,12 +405,13 @@ pub static CONSENSUS_PROPOSAL_PENDING_DURATION: Lazy<DurationHistogram> = Lazy:: | |
| ) | ||
| }); | ||
|
|
||
| /// Amount of time (in seconds) proposal is delayed due to backpressure/backoff | ||
| pub static PROPOSER_DELAY_PROPOSAL: Lazy<Histogram> = Lazy::new(|| { | ||
| register_avg_counter( | ||
| "aptos_proposer_delay_proposal", | ||
| register_histogram!( | ||
| "aptos_proposer_delay_proposal_seconds", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Metric name changed despite PR claiming it's unchangedHigh Severity The metric name changed from Additional Locations (1)Reviewed by Cursor Bugbot for commit 48efa5f. Configure here. |
||
| "Amount of time (in seconds) proposal is delayed due to backpressure/backoff", | ||
| vec![0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0] | ||
| ) | ||
| .unwrap() | ||
| }); | ||
|
|
||
| /// Histogram for max number of transactions (after filtering for dedup, expirations, etc) proposer uses when creating block. | ||
|
|
||


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.
I would suggest creating a new metric altogether otherwise rollout will be a mess.
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.
done