-
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
Pidstat plugin #3381
Pidstat plugin #3381
Conversation
I have run go fmt ./... to format my code as circleci suggest. Why isn't it happy? |
Here is what I get with running go fmt:
|
Thank you for the pull request, pidstat looks like a nice utility, but I'm concerned about the amount of overlap between this and the current procstat plugin. We don't want to provide too many ways to do something because it can be confusing to the users. Is there something that this plugin gathers that procstat doesn't, maybe we can address the shortcoming of procstat instead. |
ad relevancy: We need some things procstat won't give us:
|
What exactly do you mean by resource percentage? Usually we prefer to output the total and current and have percentage calculated on query, which has a few advantages when aggregating. On the full command line, there has been some discussion on #1873, I think concerns about potential command length it would apply here too. However, I have no other good ideas so perhaps we just require the user to opt-in. I'll comment more on the issue. On the IO metrics, these require root permissions to gather. This is problematic because we don't recommend running telegraf as root. There may be a way to change this but I have not been able to figure out how #2787 |
Closing pull request, I think we will want to focus on improving the procstat input instead of adding support for shelling out to external utilities. |
Required for all PRs: