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: glob error stopping stat collector #259

Merged
merged 4 commits into from
Jul 31, 2023
Merged

fix: glob error stopping stat collector #259

merged 4 commits into from
Jul 31, 2023

Conversation

de-sh
Copy link
Member

@de-sh de-sh commented Jul 26, 2023

Closes #

Changes

  • Separate out updater and directly print errors to log instead of returning.
  • Remove special stats collectors

Users can continue to include the special stat collector as a separate app connecting to uplink through TCP with this code.

Why?

Certain glob related errors lead to uplink's built-in stat collector failing, which shouldn't be the case.

Trials Performed

Run uplink with stat collector enabled on a device without files at the path described by /sys/devices/virtual/thermal/thermal_zone*/temp.

@de-sh de-sh marked this pull request as ready for review July 27, 2023 13:08
@de-sh de-sh merged commit a501350 into main Jul 31, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant