-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
adds metrics to repair QUIC endpoint #33818
adds metrics to repair QUIC endpoint #33818
Conversation
Codecov Report
@@ Coverage Diff @@
## master #33818 +/- ##
========================================
Coverage 81.8% 81.9%
========================================
Files 809 809
Lines 217712 217828 +116
========================================
+ Hits 178295 178437 +142
+ Misses 39417 39391 -26 |
eaa5000
to
6470d3a
Compare
core/src/repair/quic_endpoint.rs
Outdated
if let Err(err) = send_request(endpoint, connection, request).await { | ||
error!("send_request: {err:?}") | ||
debug!("send_request: {err:?}"); |
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.
Can we output the destination address? That will be useful when examining the logs.
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.
core/src/repair/quic_endpoint.rs
Outdated
|
||
async fn report_metrics_task(name: &'static str, stats: Arc<RepairQuicStats>) { | ||
loop { | ||
tokio::time::sleep(Duration::from_secs(2)).await; |
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.
Can we define the "2" as a constant on the top?
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.
6470d3a
to
580f0a6
Compare
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
(cherry picked from commit e555a61)
…33818) (solana-labs#33868) adds metrics to repair QUIC endpoint (solana-labs#33818) (cherry picked from commit e555a61) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
…33818) (solana-labs#33868) adds metrics to repair QUIC endpoint (solana-labs#33818) (cherry picked from commit e555a61) Co-authored-by: behzad nouri <behzadnouri@gmail.com>
Problem
monitor repair QUIC endpoint
Summary of Changes
added metrics.