-
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.nvidia_smi): Implement probing #16305
feat(inputs.nvidia_smi): Implement probing #16305
Conversation
Probe()
Probe()
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.
Thank you for the PR @LandonTClipp! I do have two comments in the code and want to ask you to split the PR into
- adding the probing framework
- adding probing support to NVidia SMI
Will do! |
Converting to draft until #16333 is merged. |
8af2973
to
7af74e0
Compare
This PR implements [tsd-009](https://github.com/influxdata/telegraf/blob/master/docs/specs/tsd-009-probe-on-startup.md) for the `inputs.nvidia_smi` plugin. This is achieved by running nvidia-smi once and checking the return code for a successful run.
7af74e0
to
f6d6329
Compare
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.
Awesome work @LandonTClipp! Thanks!
Probe()
Summary
This PR implements tsd-009 for the
inputs.nvidia_smi
plugin. This is achieved by running nvidia-smi once and checking the return code for a successful run.Checklist
Related issues
inputs.nvidia-smi
: Add config option to test a single run of nvidia-smi on plugin startup #15915probe_on_startup
: Add input config and interface similar tostartup_error_behavior
#16028