-
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
feat(inputs.lustre2): Add health-check metric #15042
Conversation
Now, the testsuite can write mock procfs files to standard locations within the tmpdir without needing to specify which files are used. This is really just a precursor for future commits. We want this plugin to "just work", without needing to add more fileglob fields to the config file for each one. Instead, the plugin will search on the standard paths. We won't remove the old .toml fields for backwards compatibility, but they will be deprecated and we will avoid adding new ones. This commit makes it possible to continue using the testsuite in a similar pattern, but we'll only need to fill in "rootdir", rather than globs for each new type of file.
Internally, it is now easier to see the default values for OstProcfiles and MdsProcfiles.
@lukeyeager thanks for picking this back up! I've pushed a commit to your PR to resolve some linter issues, if you want to take a look. |
I saw, thanks! I'm working on a second change right now and noticed that I need to apply my "add rootdir" commit changes to the new brw stuff added in #14813, too. Marking WIP until I get those changes in ... EDIT: done |
Happy to rebase+squash down to a reasonable amount of commits if/whenever you like. |
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
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 again!
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 @lukeyeager for your contribution!
Closes #12836. Re-implements #13756 (but with tests and some additional general improvements to the plugin).