| Commit message (Collapse) | Author | Age |
|
|
| |
Signed-off-by: yeya24 <yb532204897@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* Allow any character (UTF-8) for Linux interface names.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
|
| |
Very old kernels expose interface aliases as `foo0:0`, adjust the line
parsing to handle these names.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
| |
Signed-off-by: Ben Kochie <superq@gmail.com>
|
|
|
|
|
|
| |
fix variable name, fix transmitHeader extracting
modify fixtures to run tests with updated netdev_linux collector
Signed-off-by: dmitriy-lukyanchikov <d.lukyanchikov@anchorfree.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove all hardcoded references to `/proc`. For all collectors that do
not use `github.com/prometheus/procfs` yet, provide a wrapper to
generate the full paths.
Reformulate help strings, errors and comments to remove absolute
references to `/proc`.
This is a breaking change: the `-collector.ipvs.procfs` flag is removed
in favor of the general flag. Since it only affected that collector it
was only useful for development, so this should not cause many issues.
|
| |
|
| |
|
|
|