-
Notifications
You must be signed in to change notification settings - Fork 682
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
feat(system_monitor): check UDP network errors #9538
feat(system_monitor): check UDP network errors #9538
Conversation
Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: takeshi.iwanari <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: takeshi.iwanari <[email protected]>
@ito-san @TetsuKawa |
Signed-off-by: takeshi.iwanari <[email protected]>
c114d2f
to
08863c0
Compare
Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: takeshi.iwanari <[email protected]>
Signed-off-by: takeshi.iwanari <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9538 +/- ##
========================================
Coverage 29.77% 29.77%
========================================
Files 1442 1442
Lines 108570 108622 +52
Branches 42621 42645 +24
========================================
+ Hits 32324 32344 +20
- Misses 72940 73100 +160
+ Partials 3306 3178 -128
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@ito-san @TetsuKawa |
LGTM |
plz let me test on my side. |
@ito-san |
Sorry, the codebase was different between this branch and my project, so my Autoware was broken after I merged this branch. |
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
@iwatake2222 |
Signed-off-by: takeshi.iwanari <[email protected]>
295b766
to
b78f012
Compare
Signed-off-by: takeshi.iwanari <[email protected]>
@ito-san |
@ito-san Could you merge this PR? I'm asking because |
* feat(system_monitor): generalize logic for /proc/net/snmp Signed-off-by: takeshi.iwanari <[email protected]> * feat(system_monitor): add UDP buf errors check Signed-off-by: takeshi.iwanari <[email protected]> * fix calculation for errors per unit time at the first time Signed-off-by: takeshi.iwanari <[email protected]> * style(pre-commit): autofix * organize code Signed-off-by: takeshi.iwanari <[email protected]> * style(pre-commit): autofix * fix warnings Signed-off-by: takeshi.iwanari <[email protected]> * remove unnecessary fmt::format Signed-off-by: takeshi.iwanari <[email protected]> * organize code for metrics from /proc/net/snmp Signed-off-by: takeshi.iwanari <[email protected]> * style(pre-commit): autofix * separate ROS 2 parameters from constructor Signed-off-by: takeshi.iwanari <[email protected]> * suppress log Signed-off-by: takeshi.iwanari <[email protected]> * style(pre-commit): autofix * fix bugprone-fold-init-type Signed-off-by: takeshi.iwanari <[email protected]> * dummy commit to kick workflows Signed-off-by: takeshi.iwanari <[email protected]> --------- Signed-off-by: takeshi.iwanari <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: ito-san <[email protected]>
Description
Why this PR is needed
What this PR changs
Related links
None
How was this PR tested?
total UDP rcv buf errors
andtotal UDP snd buf errors
are monitored, and they are retrieved from/proc/net/snmp
How to cause UDP buf errors
Run the following scripts
Notes for reviewers
None.
Interface changes
Topic changes
Additions and removals
None
Modifications
A new member named
net_monitor: UDP Buf Errors
is added into/diagnostics
topicROS Parameter Changes
Additions and removals
system/system_monitor/config/net_monitor.param.yaml
udp_buf_errors_check_duration
int
1
udp_buf_errors_check_count
int
1
Modifications
None
Effects on system behavior
None.