diff options
author | Noam Meltzer <tsnoam@gmail.com> | 2019-05-31 18:55:50 +0300 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-05-31 17:55:50 +0200 |
commit | 501ccf9fb4ccc8d8b42d8936b4d8846604f9ac97 (patch) | |
tree | 677d0201c83da29d3271d3c23a58861abcfed321 /CHANGELOG.md | |
parent | fc02b5dfbc32f12c8408e7baa2e65c6077089d85 (diff) | |
download | prometheus_node_collector-501ccf9fb4ccc8d8b42d8936b4d8846604f9ac97.tar.bz2 prometheus_node_collector-501ccf9fb4ccc8d8b42d8936b4d8846604f9ac97.tar.xz prometheus_node_collector-501ccf9fb4ccc8d8b42d8936b4d8846604f9ac97.zip |
Add --collector.netdev.device-whitelist flag (#1279)
* Add --collector.netdev.device-whitelist flag
Sometimes it is desired to monitor only one netdev. The golang regexp
does not support a negated regex, so the ignored-devices flag is too
cumbersome for this task.
This change introduces a new flag: accept-devices, which is mutually
exclusive to ignored-devices. This flag allows specifying ONLY the
netdev you'd like.
Signed-off-by: Noam Meltzer <noam@cynerio.co>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index f5ab4fe..eca02bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -2,9 +2,12 @@ | |||
2 | 2 | ||
3 | ### **Breaking changes** | 3 | ### **Breaking changes** |
4 | 4 | ||
5 | * The netdev collector CLI argument `--collector.netdev.ignored-devices` was renamed to `--collector.netdev.device-blacklist` in order to conform with the systemd collector. #1279 | ||
6 | |||
7 | |||
5 | ### Changes | 8 | ### Changes |
6 | 9 | ||
7 | * [CHANGE] | 10 | * [CHANGE] Add `--collector.netdev.device-whitelist`. #1279 |
8 | * [FEATURE] | 11 | * [FEATURE] |
9 | * [ENHANCEMENT] | 12 | * [ENHANCEMENT] |
10 | * [BUGFIX] Fix incorrect sysctl call in BSD meminfo collector, resulting in broken swap metrics on FreeBSD #1345 | 13 | * [BUGFIX] Fix incorrect sysctl call in BSD meminfo collector, resulting in broken swap metrics on FreeBSD #1345 |