-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add include and exclude filter for hwmon collector #2699
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 13 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
be0ce61
Add include and exclude kingpin flags, following example in systemd c…
conallob 15d6137
Rename unitInclude* and unitExclude* variables to systemdInclude* and
conallob 7c49531
Revert "Rename unitInclude* and unitExclude* variables to systemdIncl…
conallob e7fa213
Run gofmt on hwmon_linux.go
conallob ca60247
Merge branch 'master' into hwmon-exclude-flags
conallob 6e53c06
Merge branch 'hwmon-exclude-flags' of github.com:conallob/node_export…
conallob a8bcad3
Add checks against hwmonIncludePattern and hwmonExcludePattern, where…
conallob 07c9cc9
Merge branch 'master' into hwmon-exclude-flags
conallob 731483c
Run gofmt
conallob 96d11fc
Merge branch 'hwmon-exclude-flags' of github.com:conallob/node_export…
conallob f8096b7
Add checks against hwmonIncludePattern and hwmonExcludePattern, where
conallob 3f2605a
Merge branch 'hwmon-exclude-flags' of github.com:conallob/node_export…
conallob 9168508
Don't return anything when including a device. Return nil, not err when
conallob 4d7ea39
Merge branch 'prometheus:master' into hwmon-exclude-flags
conallob 75ba1d0
Add hwmon device filtering, leveraging collector/device_filter.go, as
conallob e20df55
Remove superfluous regexp handling, device_filter.go handles this for us
conallob 71dc549
Update collector/hwmon_linux.go
conallob af47909
Update filtering variable names to be HWmon Chips, not units
conallob 5a1d5ee
Merge branch 'hwmon-exclude-flags' of github.com:conallob/node_export…
conallob 03e4a4d
Skip hwmon chip if it's marked as ignored by device_filter
conallob 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
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.
Uh oh!
There was an error while loading. Please reload this page.