Skip to content
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): create a package to monitor component containers #7094

Merged
merged 54 commits into from
Jul 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
d391fda
feat(component_monitor): create package
May 20, 2024
c8170f3
feat(component_monitor): read and publish cpu and mem usage rate
May 20, 2024
e79aed9
fix(component_monitor): use pid of current process
May 20, 2024
3b735ac
feat(component_monitor): publish usage as custom message
May 20, 2024
e68356c
refactor(component_monitor): use pidstat instead of top
May 21, 2024
b561438
refactor(component_monitor): create function to convert numbers to float
May 21, 2024
08802f7
fix(component_monitor): change command name to pidstat
May 21, 2024
e23d66c
refactor(component_monitor): create function to convert numbers to ui…
May 21, 2024
d4344cc
refactor(component_monitor): add const
May 21, 2024
584d838
refactor(component_monitor): tidy up code
May 21, 2024
d65c841
feat(component_monitor): publish only when there is a subscriber
May 21, 2024
b789bde
chore(component_monitor): explain env variable
May 21, 2024
616285e
chore(component_monitor): create launch file
May 21, 2024
d757d01
fix(component_monitor): get and publish stats only if there is a subs…
May 21, 2024
739cffa
style(pre-commit): autofix
pre-commit-ci[bot] May 22, 2024
7483a94
fix: package name according to guidelines
May 22, 2024
4a45160
fix: project structure according to guidelines
May 22, 2024
7d180d9
feat: add header and pid fields to msg
May 22, 2024
c72c3c2
chore: add license and fix cspell
May 23, 2024
db6eb56
chore: include headers to fix cpplint
May 23, 2024
ae7d73c
fix: package name
May 23, 2024
996ff5e
fix: pidstat params
May 23, 2024
a15b053
feat: change command to top again
May 23, 2024
62e83ee
style(pre-commit): autofix
pre-commit-ci[bot] May 23, 2024
7d77641
chore: fix cspell
May 23, 2024
bbd501c
chore(autoware_component_monitor): add description
Jun 5, 2024
e0c7708
feat: add try-catch block in order not to crash the whole component
Jun 5, 2024
3594478
chore: fix spell errors
Jun 5, 2024
231079d
refactor(autoware_component_monitor): make methods const and static
Jun 5, 2024
3f89054
refactor: remove delay field on top command
Jun 5, 2024
b02c41f
chore: add readme
Jun 5, 2024
8a75611
style(pre-commit): autofix
pre-commit-ci[bot] Jun 5, 2024
93bcb55
refactor: change msg type
Jun 6, 2024
ebf8103
feat: add system wide mem usage
Jun 6, 2024
014a319
refactor: change msg name
Jun 6, 2024
86e8f46
chore: add kibibytes to cspell ignore list
Jun 11, 2024
1c253cd
chore: fix readme
Jun 11, 2024
2ccb0a2
refactor: use type aliases inside the namespace
Jun 12, 2024
f167237
improve
Jun 13, 2024
7c46216
style(pre-commit): autofix
pre-commit-ci[bot] Jun 13, 2024
f22c3dd
launch update
Jun 13, 2024
2577af0
style(pre-commit): autofix
pre-commit-ci[bot] Jun 13, 2024
ed150ab
fix
Jun 13, 2024
b1276fc
style(pre-commit): autofix
pre-commit-ci[bot] Jun 13, 2024
0ebe6d9
feat: set publish rate as 5.0
Jun 24, 2024
aaae490
refactor: remove unused header
Jun 24, 2024
8c17836
refactor: move environment variables to outside run_system_command
Jun 24, 2024
b4db0fe
refactor: make function and argument const
Jun 24, 2024
fee2d04
refactor: remove namespace alias to make the code more explicit
Jun 24, 2024
1472973
feat: create tests for unit conversions
Jun 24, 2024
69b80a0
fix: make gib_to_bytes use ull numbers
Jun 24, 2024
39dc9c5
style(pre-commit): autofix
pre-commit-ci[bot] Jun 24, 2024
09b7142
change order
Jul 12, 2024
a1e9f36
add comment
Jul 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style(pre-commit): autofix
pre-commit-ci[bot] authored and xmfcx committed Jul 12, 2024
commit 39dc9c5ece57fba1adf63774ce1dbef66f366afa
2 changes: 1 addition & 1 deletion system/autoware_component_monitor/package.xml
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
<depend>rclcpp</depend>
<depend>rclcpp_components</depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_cmake_ros</test_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>autoware_lint_common</test_depend>

<export>
Original file line number Diff line number Diff line change
@@ -54,4 +54,4 @@ TEST(UnitConversions, eib_to_bytes)
EXPECT_EQ(eib_to_bytes(0), 0U);
EXPECT_EQ(eib_to_bytes(10), 11529215046068469760U);
}
} // namespace autoware::component_monitor::unit_conversions
} // namespace autoware::component_monitor::unit_conversions