-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[disk] Add include_all_devices option and improve error logs
#7378
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
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ef53636
[disk] Add option to exclude special file systems on Linux
mx-psi e09657e
Rewrite test and spec
mx-psi 0b351bb
Address review comment
mx-psi ce5c4cc
Fix test
mx-psi 09e8990
Delete .lock
mx-psi 20e5d20
Use `all` option from `psutil.disk_partitions`
mx-psi fda6a83
Sync config
mx-psi 2271969
Use `default` instead of `example`
mx-psi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is there an uppercase T in
Truehere, whereas it's lowercase in the spec & in all other config options?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.
🤔 I am not sure why, the
conf.yaml.defaultfile is generated automatically byddev validate config -susing thespec.yamlfile.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.
It's how the config validator works since I added both a
defaultand anexamplevalue:integrations-core/datadog_checks_dev/datadog_checks/dev/tooling/configuration/consumers/example.py
Lines 115 to 124 in fda6a83
It prints the
reprof the object (which isTruesince that's how it is written in Python) instead oftrueorfalse, which it does when there is nodefaultconfig.I am going to change it though, since it seems like elsewhere the
exampleanddefaultvalues always match and it can be confusing.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.
I opened #7405 to make the behavior consistent.