As a thank you to the ROS community for creating a great framework that empowers everyone to learn and implement robotics, I’ve created telegraf_resource_monitor. It is a ROS 2 package that integrates Telegraf monitoring with ROS 2 to provide comprehensive system resource monitoring for robotic applications.
Why This Matters
ROS 2 currently seems to lack a well-established system monitoring solution. Questions like “which node is consuming too much memory?” or “Is my robot overheating?” are critical for deployments but are not easily answered today it seems. This package aims to answer these questions once and for all!
What It Does
Instead of reinventing monitoring tools, this package leverages the cloud native Telegraf and bridges it to ROS 2, allowing for live monitoring and bagging for later inspection.
Its features are:
-
Dynamic topic creation - automatically creates topics like based on available metrics
-
Zero ROS configuration - adapts to whatever Telegraf provides so only Telegraf configuration is needed.
-
Rich monitoring - currently CPU, memory, disk, temperature, and ROS node resource usage but easily extendable using Telegraf’s 100+ input plugins and ability to interface with custom applications.
-
Reliable - Telegraf’s use in cloud environments proves its reliability.
Get Started
The package is available on GitHub with full documentation, examples, and configuration details:
https://github.com/Bart-van-Ingen/telegraf_resource_monitor
It also has a visual studio code development container, making it easy to test on you computer without needing to install it.
I am excited to see what you think ! Feedback and contributions welcome!
