aboutsummaryrefslogtreecommitdiff
path: root/collector/conntrack_linux.go
Commit message (Collapse)AuthorAge
* switch to go-kit/log (#1575)Ben Ye2019-12-31
| | | Signed-off-by: yeya24 <yb532204897@gmail.com>
* Replace --collectors.enabled with per-collector flags (#640)Calle Pettersson2017-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move NodeCollector into package collector * Refactor collector enabling * Update README with new collector enabled flags * Fix out-of-date inline flag reference syntax * Use new flags in end-to-end tests * Add flag to disable all default collectors * Track if a flag has been set explicitly * Add --collectors.disable-defaults to README * Revert disable-defaults flag * Shorten flags * Fixup timex collector registration * Fix end-to-end tests * Change procfs and sysfs path flags * Fix review comments
* Remove unnecessarily named return variablesTobias Schmidt2017-02-28
| | | | | | Named return variables should only be used to describe the returned type further, e.g. `err error` doesn't add any new information and is just stutter.
* Fix all open go lint and vet issuesTobias Schmidt2017-02-28
|
* Fix compilation without conntrack collectorPavel Borzenkov2016-01-15
| | | | | | | | | Entry collector uses readUintFromFile() function which is defined by conntrack collector. Thus, it is impossible to build node_exporter w/o conntrack collector. Fix this by factoring out the function into helper.go file. Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
* Add linux conntrack collector.Brian Brazil2015-12-20