Daniel Swarbrick
37ce0bab8c
Sync build tags in *_test.go ( #2767 )
...
Ensure that unwanted tests are correctly excluded when various build
tags are specified, i.e. when the code that they test would be excluded
from compilation.
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
1 year ago
Phil Porada
14eafab016
Adds metrics and tests for UDP receive and send buffer errors ( #1534 )
...
* Adds metrics for UDP receive and send buffer errors
Signed-off-by: Phil Porada <philporada@gmail.com>
5 years ago
Aleksey Zhukov
7a914e58f2
Add parsing /proc/net/snmp6 file for netstat-linux ( #615 )
...
* Add parsing /proc/net/snmp6 file
* add /proc/net/snmp6 fixture
* fix e2e test
* gofmt
* remove unuser variable
* safe checks
* add tests
* change help format
7 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
Jari Takkala
21ce0cbda9
Add support for stats from /proc/net/snmp as well.
9 years ago
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
9 years ago
Tobias Schmidt
974f6fc762
Fix tests
10 years ago