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>
2023-08-15 11:38:13 +02:00
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>
2020-02-19 14:41:40 +01:00
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
2017-07-08 20:16:35 +02:00
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.
2015-09-28 13:56:22 +00:00
Matthias Rampke
2d0d72b97d
Add license headers to all code files.
2015-09-26 17:44:39 +02:00
Jari Takkala
21ce0cbda9
Add support for stats from /proc/net/snmp as well.
2015-07-15 12:39:28 -04:00
Siavash Safi
66e0171159
Rename linux collectors for build constraints.
2015-07-14 13:58:45 +04:30