Feature Request
Hello, you might be aware of systemd-analyze (https://www.freedesktop.org/software/systemd/man/systemd-analyze.html). This is a useful systemd tool which uses dbus to return system startup timing related metrics, these metrics are then pretty printed on the terminal. We would like to be able to capture such metrics (read via dbus) using telegraf.
Proposal:
A new input plugin could be written to gather metrics via dbus. I spent a few hours hacking on this yesterday and was able to at least gather basic metrics using telegraf with the --test argument. I would like to work further on this implementation and contribute it upstream if possible.
Note the gathering of these metrics only need to be collected once after the system is booted, I'm not sure if there is support for such a "one shot" style metric collection currently in telegraf. Thoughts on this (and infact the applicability of telegraf to this problem) would be much appreciated.
Current behavior:
I'm not aware of a way to gather such metrics at present.
Desired behavior:
It would be nice to be able to gather all systemd startup timing related metrics and have them displayed using our of the output plugins.
Use case:
We have a large fleet of nodes where system start up time and restart time via kexec is very important. We'd like to be able to visualize/analyze this using telegraf so we can further drill down on startup related performance issues.
Thanks!
Feature Request
Hello, you might be aware of systemd-analyze (https://www.freedesktop.org/software/systemd/man/systemd-analyze.html). This is a useful systemd tool which uses dbus to return system startup timing related metrics, these metrics are then pretty printed on the terminal. We would like to be able to capture such metrics (read via dbus) using telegraf.
Proposal:
A new input plugin could be written to gather metrics via dbus. I spent a few hours hacking on this yesterday and was able to at least gather basic metrics using telegraf with the --test argument. I would like to work further on this implementation and contribute it upstream if possible.
Note the gathering of these metrics only need to be collected once after the system is booted, I'm not sure if there is support for such a "one shot" style metric collection currently in telegraf. Thoughts on this (and infact the applicability of telegraf to this problem) would be much appreciated.
Current behavior:
I'm not aware of a way to gather such metrics at present.
Desired behavior:
It would be nice to be able to gather all systemd startup timing related metrics and have them displayed using our of the output plugins.
Use case:
We have a large fleet of nodes where system start up time and restart time via kexec is very important. We'd like to be able to visualize/analyze this using telegraf so we can further drill down on startup related performance issues.
Thanks!