about summary refs log tree commit diff
path: root/hwmon.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 hwmon collector.Heikki Kallasjoki2018-12-121-2/+3
|
* Use a struct type for metric labels.Heikki Kallasjoki2018-12-071-4/+4
| | | | | | Resolves #4. The real readability benefits are for test code, which will follow up in due course.
* 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.
* Improve naming of hwmon devices.Heikki Kallasjoki2018-11-151-13/+51
|
* Initial prototype.Heikki Kallasjoki2018-08-051-0/+200