about summary refs log tree commit diff
path: root/meminfo.c
Commit message (Collapse)AuthorAgeFilesLines
* Move the collector loop into scrape server code.Heikki Kallasjoki2018-12-231-1/+1
| | | | | | This paves the way for supporting parallel scrapes (#19); the implementation for that is going to need to track the state of the current scrape.
* Add basic test for the meminfo collector.Heikki Kallasjoki2018-12-121-1/+1
|
* Allow meminfo metric values that are followed by a newline.Heikki Kallasjoki2018-12-121-1/+1
| | | | Fixes #8.
* Add Apache License 2.0 headers and files.Heikki Kallasjoki2018-11-301-0/+16
|
* Clean up compiler warnings.Heikki Kallasjoki2018-11-301-0/+2
|
* Refactor to allow excluding collectors from the build.Heikki Kallasjoki2018-11-301-1/+1
| | | | | | | Stop including hardcoded links to all collectors from main.c. Instead, use a preprocessor X-macro "XCOLLECTORS" to take the list of collectors, and use that to declare the external "struct collector" objects and the list of collectors.
* Add the meminfo collector.Heikki Kallasjoki2018-11-301-0/+76