aboutsummaryrefslogtreecommitdiff
path: root/collector/buddyinfo.go
Commit message (Collapse)AuthorAge
* Use Go 1.13 error featuresBen Kochie2020-06-16
| | | | | | | * Use `errors.Is()` for unwrapping errors. * Use `%w` error verb in internal error formatting. Signed-off-by: Ben Kochie <superq@gmail.com>
* switch to go-kit/log (#1575)Ben Ye2019-12-31
| | | Signed-off-by: yeya24 <yb532204897@gmail.com>
* Wrap errors in the Go 1.13 wayJulian Kornberger2019-12-19
| | | | Signed-off-by: Julian Kornberger <jk+github@digineo.de>
* update procfs to v0.0.2 (#1376)Paul Gier2019-06-12
| | | Signed-off-by: Paul Gier <pgier@redhat.com>
* Early init of procfs (#1315)Paul Gier2019-04-10
| | | | | | | | | Minor change to match naming convention in other collectors. Initialize the proc or sys FS instance once while initializing each collector instead of re-creating for each metric update. Signed-off-by: Paul Gier <pgier@redhat.com>
* Fix remaining metric naming issues (#799)Matt Layher2018-02-12
|
* 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 Windows supportTobias Schmidt2017-04-10
| | | | Use https://github.com/martinlindhe/wmi_exporter instead.
* 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.
* Changing datastructure for BuddyInfoThorhallur Sverrisson2017-02-15
|
* Moving buddyinfo logic to procfsThorhallur Sverrisson2017-02-15
|
* Adding support for /proc/buddyinfo for linux free memory fragmentation.Thorhallur Sverrisson2017-02-15
/prod/buddyinfo returns data on the free blocks fragments available for use from the kernel. This data is useful when diagnosing possible memory fragmentation. More info can be found in: * https://lwn.net/Articles/7868/ * https://andorian.blogspot.com/2014/03/making-sense-of-procbuddyinfo.html