-
Notifications
You must be signed in to change notification settings - Fork 5.7k
fix(inputs.procstat): Use correct values for disk_read_bytes, disk_write_bytes on Linux #17552
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
Conversation
|
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 👍 This pull request doesn't change the Telegraf binary size 📦 Click here to get additional PR build artifactsArtifact URLs |
|
@apurbagarwal-ag are you sure this also works on non-Linux platforms? |
@srebhan this would not work in non-Linux platforms. gopsutil says |
|
@kuwtnazar-byte what exactly has that link to do with this PR? |
|
@srebhan I have kept the behavior unchanged for non-linux platforms. ptal. |
srebhan
left a comment
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 @apurbagarwal-ag!
skartikey
left a comment
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.
@apurbagarwal-ag Thanks for the contribution!
…ite_bytes on Linux (influxdata#17552)
Summary
Due to change in gopsutil library, incorrect values of disk_read_bytes and disk_write_bytes were being recorded.
Checklist
Related issues
resolves #17511