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

fix(inputs.temp): ignore warnings returned by gopsutil #12842

Closed
wants to merge 2 commits into from

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Mar 13, 2023

The temperature sensor reading can return warnings as an error. Previously we ignored these, but they were removed from gopsutil. The warning was returned to gopsutil and we should continue to ignore warnings and only fail on a true error.

fixes: #12841

@telegraf-tiger telegraf-tiger bot added fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Mar 13, 2023
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 13, 2023
The temperature sensor reading can return warnings as an error.
Previously we ignored these, but they were removed from gopsutil. The
warning was returned to gopsutil and we should continue to ignore
warnings and only fail on a true error.

fixes: influxdata#12841
@powersj
Copy link
Contributor Author

powersj commented Mar 13, 2023

Hmm looking at gopsutil some more it looks like it was only added-back for linux hosts: https://github.com/shirou/gopsutil/pull/1379/files

so probably not getting this in for v1.26.0 today, and will need to work with upstream

@powersj powersj marked this pull request as draft March 13, 2023 14:03
@powersj powersj removed the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Mar 13, 2023
@powersj powersj assigned powersj and unassigned srebhan Mar 13, 2023
@powersj
Copy link
Contributor Author

powersj commented Mar 14, 2023

closing until I get upstream fixed

@powersj powersj closed this Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

newest verions of docker image breaks inputs.temp
2 participants