Skip to content
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

procstat input plugin missing cpu_usage (cpu percentage) metrics if more than one of the "new" filters is used #16256

Open
philjb opened this issue Dec 3, 2024 · 0 comments

Comments

@philjb
Copy link
Contributor

philjb commented Dec 3, 2024

I noticed this on version 1.31.2, but it's an issue on master too.

If you use procstat plugin with two [[inputs.procstat.filter]] of the "new" filter sections, the bug prevents the cpu percentage stat from being calculated as it depends on the last values read (telegraf calculates the cpu percentage based on the cpu time changed and the clock time changed since the last read - i haven't verified the cpu calculation formula itself).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant