Ben Kochie
|
b10ca77680
|
Fix /proc/net/dev/ interface name handling
* Allow any character (UTF-8) for Linux interface names.
Signed-off-by: Ben Kochie <superq@gmail.com>
|
7 years ago |
Ben Kochie
|
a528966dcd
|
Fix parsing of interface aliases in netdev linux
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>
|
7 years ago |
Tobias Schmidt
|
21e13c7f52
|
Simplify code
|
8 years ago |
Matthias Rampke
|
788ac9a859
|
Rearrange fixtures to match "real" proc and sys.
And add some missing fixtures for default collectors, even if they're
not read by tests yet.
|
9 years ago |
Matthias Rampke
|
2d0d72b97d
|
Add license headers to all code files.
|
9 years ago |
Martín Ferrari
|
13672ced48
|
Revamp the netdev collector to use throw-away ConstMetrics.
|
9 years ago |
Siavash Safi
|
66e0171159
|
Rename linux collectors for build constraints.
|
9 years ago |
Ian Hansen
|
64affe205b
|
Allows netdev devices to be ignored
|
10 years ago |
Julius Volz
|
072ddabf62
|
Fix /proc/net/dev column parsing.
This fixes https://github.com/prometheus/node_exporter/issues/73
|
10 years ago |
Tobias Schmidt
|
974f6fc762
|
Fix tests
|
10 years ago |