| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Resolves #4.
The real readability benefits are for test code, which will follow up in due course.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|