-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
lijunwangs
left a comment
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)
) adds metrics to repair QUIC endpoint (#33818) (cherry picked from commit e555a61) Co-authored-by: behzad nouri <[email protected]>
…33818) (solana-labs#33868) adds metrics to repair QUIC endpoint (solana-labs#33818) (cherry picked from commit e555a61) Co-authored-by: behzad nouri <[email protected]>
…33818) (solana-labs#33868) adds metrics to repair QUIC endpoint (solana-labs#33818) (cherry picked from commit e555a61) Co-authored-by: behzad nouri <[email protected]>
Problem
monitor repair QUIC endpoint
Summary of Changes
added metrics.