-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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(inputs.kernel): Add Pressure Stall Information #14507
Conversation
Thanks for your contribution @iBug! Before giving this a full review I would like to ask why you do not implement this feature as part of the inputs.kernel plugin? You could easily add this as a new Furthermore, I suggest to merge the
What do you think @iBug? |
Good suggestion. My reasons for not doing this now:
May I ask what should I do now? Start migrating this entire code to
Just revisited the code: Technical difficulty in merging |
@iBug let me discuss this with the team... |
@iBug we discussed this PR yesterday and can live with the current metric format to keep the Gauge vs. Counter properties. However, we do also agree on merging this plugin into I can assist you in the merge if you want and permit pushes to your PR branch in your repository... |
I just moved all the code into
I forked the repository to an organization named Fortunately I'll be able to spare some minutes daily in the upcoming days, so you can just comment and I'll handle the code. Alternatively I can close this PR, re-fork and re-submit another PR so you can push. |
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.
Thanks for merging this to the kernel
plugin @iBug! Two comments from my side...
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.
Very nice @iBug, it's really a joy to work with you! I would like to convert the test to use testutil.RequireMetricsEqual
as this prints a nice diff on fail and allows to specify the expected metrics as such. The other two comments are minor...
We are almost there... :-)
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 🥳 This pull request decreases the Telegraf binary size by -3.74 % for linux amd64 (new size: 211.6 MB, nightly size 219.9 MB) 📦 Click here to get additional PR build artifactsArtifact URLs |
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.
Thank you very much for the back and forth on this PR!
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.
Thanks for all you work @iBug! It was fun to work with you! Looking forward to your next PR. :-)
Thank you very much for integrating the psi plugin we created. Very much appreciated 🙏 |
[c7d70f0] open-source: Add influxdata/telegraf#14507
Summary
Implemented an input plugin for Pressure Stall Information (Linux v4.20+).
Part of the code was derived from gridscale/linux-psi-telegraf-plugin, which is available under the MIT license.
I will be after this PR as long as I am around.
Checklist
Related issues
Resolves #6760