Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move the collector loop into scrape server code. | Heikki Kallasjoki | 2018-12-23 | 9 | -9/+0 |
| | | | | | | 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. | ||||
* | Predefine NANO_EXPORTER_TEST when compiling test code. | Heikki Kallasjoki | 2018-12-16 | 1 | -1/+1 |
| | | | | | | Also update the existing test-only "override X" functions in the cpu, filesystem and uname collectors to only be defined when NANO_EXPORTER_TEST is. | ||||
* | Rename the network collector to netdev. | Heikki Kallasjoki | 2018-12-15 | 2 | -6/+6 |
| | | | | | Resolves #14. For consistency with node_exporter, and with other network-related collectors. | ||||
* | Run test cleanup when exiting via failure. | Heikki Kallasjoki | 2018-12-13 | 1 | -1/+1 |
| | | | | | | Fixes #12. Previously when a test escaped through the setjmp/longjmp failure path, the `test_cleanup` function never ran, leaving the test root directory in `/tmp`. | ||||
* | Add basic test for the uname collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+59 |
| | |||||
* | Add basic test for the textfile collector. | Heikki Kallasjoki | 2018-12-12 | 3 | -6/+91 |
| | |||||
* | Add basic test for the stat collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+56 |
| | |||||
* | Add basic test for the network collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+63 |
| | |||||
* | Add basic test for the meminfo collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+54 |
| | |||||
* | Add basic test for the hwmon collector. | Heikki Kallasjoki | 2018-12-12 | 6 | -1/+133 |
| | |||||
* | Add basic test for the filesystem collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+122 |
| | |||||
* | Add basic test for the diskstats collector. | Heikki Kallasjoki | 2018-12-12 | 2 | -1/+76 |
| | |||||
* | Add a simple test harness and tests for the cpu collector. | Heikki Kallasjoki | 2018-12-12 | 8 | -0/+705 |