Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the collector loop into scrape server code. | Heikki Kallasjoki | 2018-12-23 | 1 | -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 diskstats collector. | Heikki Kallasjoki | 2018-12-12 | 1 | -1/+1 |
| | |||||
* | Use a struct type for metric labels. | Heikki Kallasjoki | 2018-12-07 | 1 | -4/+4 |
| | | | | | | Resolves #4. The real readability benefits are for test code, which will follow up in due course. | ||||
* | Include newline as delimiter when splitting /proc/diskstats. | Heikki Kallasjoki | 2018-12-07 | 1 | -1/+1 |
| | | | | | | Fixes #5. Splitting by space only caused the newline to end up as part of the last column, which was then ignored since the newline was considered trailing non-numeric data when parsing the value. | ||||
* | Filter out unused devices from diskstats. | Heikki Kallasjoki | 2018-11-30 | 1 | -0/+9 |
| | |||||
* | Add support for matching with prefix in include/exclude lists. | Heikki Kallasjoki | 2018-11-30 | 1 | -2/+2 |
| | |||||
* | Add Apache License 2.0 headers and files. | Heikki Kallasjoki | 2018-11-30 | 1 | -0/+16 |
| | |||||
* | Add the discard metrics to diskstats collector. | Heikki Kallasjoki | 2018-11-30 | 1 | -8/+10 |
| | |||||
* | Refactor to allow excluding collectors from the build. | Heikki Kallasjoki | 2018-11-30 | 1 | -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 diskstats collector. | Heikki Kallasjoki | 2018-11-30 | 1 | -0/+133 |