aboutsummaryrefslogtreecommitdiff
path: root/collector/netdev_linux.go
Commit message (Collapse)AuthorAge
* switch to go-kit/log (#1575)Ben Ye2019-12-31
| | | Signed-off-by: yeya24 <yb532204897@gmail.com>
* Add --collector.netdev.device-whitelist flag (#1279)Noam Meltzer2019-05-31
| | | | | | | | | | | | * 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>
* Fix /proc/net/dev/ interface name handlingBen Kochie2018-04-18
| | | | | | * Allow any character (UTF-8) for Linux interface names. Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix parsing of interface aliases in netdev linuxBen Kochie2018-04-17
| | | | | | | 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>
* Fix formatting.Ben Kochie2018-04-14
| | | | Signed-off-by: Ben Kochie <superq@gmail.com>
* Fix netdev collector for linux (#890)Dmitriy Lukyanchikov2018-04-14
| | | | | | 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 unnecessary conversionsTobias Schmidt2017-02-28
|
* Check for errors in netdev scannerJohannes 'fish' Ziemke2017-01-03
|
* Do a make format run.Brian Brazil2015-12-18
|
* collector: add openbsd support for netdevNick Owens2015-11-06
|
* switch to github.com/prometheus/common/log for loggingNick Owens2015-10-30
|
* Add license headers to all code files.Matthias Rampke2015-09-26
|
* Add flag to change the location of the procfs.Matthias Rampke2015-09-26
| | | | | | | | | | | | | 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.
* Fix formatting and variable names.Martín Ferrari2015-09-16
|
* Revamp the netdev collector to use throw-away ConstMetrics.Martín Ferrari2015-09-15
|
* Rename linux collectors for build constraints.Siavash Safi2015-07-14