-
Notifications
You must be signed in to change notification settings - Fork 5.8k
feat(inputs.system): Add option to specify collected information #18533
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
16 commits
Select commit
Hold shift + click to select a range
71e56d9
init inputs.node_info plugin
bilkoua 8ebaa09
readme
bilkoua c1b8b5d
Merge branch 'influxdata:master' into master
bilkoua a3e67c9
fix
bilkoua ba9427a
fix broken configHandlingFlags
bilkoua 978e707
Merge branch 'master' into master
bilkoua 09275f0
move to system
bilkoua b399363
fix linter
bilkoua 07ba526
nolint:unused for non-Linux
bilkoua c7f1241
fix linter
bilkoua 6bb4758
1 step
bilkoua acefd63
Merge branch 'influxdata:master' into master
bilkoua 27b75e9
feat(inputs.system): add include option for selective metric collection
bilkoua 3fdb4c0
Update plugins/inputs/system/sample.conf
bilkoua f9c7aa7
Update plugins/inputs/system/system.go
bilkoua 3594b6e
Merge branch 'influxdata:master' into master
bilkoua 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,22 @@ | ||
| # Read metrics about system load & uptime | ||
| [[inputs.system]] | ||
| # no configuration | ||
| ## Metric groups to collect; the "include" option controls which fields | ||
| ## are gathered and how they are emitted. | ||
| ## | ||
| ## Available options: | ||
| ## load - 1/5/15-minute load averages (load1, load5, load15) | ||
| ## users - logged-in user counts (n_users, n_unique_users) | ||
| ## cpus - CPU counts with new field names (n_virtual_cpus, | ||
| ## n_physical_cpus) | ||
| ## deprecated-cpus - CPU counts with legacy field names (n_cpus, | ||
| ## n_physical_cpus); deprecated, use "cpus" instead | ||
| ## uptime - system uptime as a field in the main metric | ||
| ## deprecated-uptime - system uptime as separate counter and | ||
| ## uptime_format metrics; deprecated, use "uptime" | ||
| ## instead | ||
| ## | ||
| ## "cpus" and "deprecated-cpus" are mutually exclusive. | ||
| ## "uptime" and "deprecated-uptime" are mutually exclusive. | ||
| ## | ||
| ## By default all groups are collected with backward-compatible field names. | ||
| # include = ["load", "users", "deprecated-cpus", "deprecated-uptime"] | ||
|
bilkoua marked this conversation as resolved.
Outdated
|
||
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
Oops, something went wrong.
Oops, something went wrong.
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.