about summary refs log tree commit diff
path: root/filesystem.c
Commit message (Collapse)AuthorAgeFilesLines
* filesystem: export failed statvfs calls as node_filesystem_device_errorLeah Neukirchen2024-06-101-1/+5
|
* 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.
* Predefine NANO_EXPORTER_TEST when compiling test code.Heikki Kallasjoki2018-12-161-2/+2
| | | | | | 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.
* Add basic test for the filesystem collector.Heikki Kallasjoki2018-12-121-2/+10
|
* Use a struct type for metric labels.Heikki Kallasjoki2018-12-071-8/+8
| | | | | | Resolves #4. The real readability benefits are for test code, which will follow up in due course.
* Add support for matching with prefix in include/exclude lists.Heikki Kallasjoki2018-11-301-6/+6
|
* Add Apache License 2.0 headers and files.Heikki Kallasjoki2018-11-301-0/+16
|
* Support include/exclude lists in the filesystem collector.Heikki Kallasjoki2018-11-301-5/+69
|
* 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 filesystem collector.Heikki Kallasjoki2018-11-301-0/+76