about summary refs log tree commit diff
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename the network collector to netdev.Heikki Kallasjoki2018-12-151-1/+1
| | | | | Resolves #14. For consistency with node_exporter, and with other network-related collectors.
* Add the stat collector.Heikki Kallasjoki2018-12-041-1/+1
|
* Add Apache License 2.0 headers and files.Heikki Kallasjoki2018-11-301-0/+16
|
* Clean up compiler warnings.Heikki Kallasjoki2018-11-301-1/+1
|
* Add support for a --pidfile= argument.Heikki Kallasjoki2018-11-301-4/+17
|
* Daemonize to background by default.Heikki Kallasjoki2018-11-301-3/+64
|
* Split the scrape setup and serving to separate functions.Heikki Kallasjoki2018-11-301-1/+6
| | | | This is a refactoring in preparation for supporting daemonization: we'll want to set up the port before daemonizing, so that any failures can be reported early.
* Refactor to allow excluding collectors from the build.Heikki Kallasjoki2018-11-301-16/+14
| | | | | | | 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 Kallasjoki2018-11-301-0/+2
|
* Add the filesystem collector.Heikki Kallasjoki2018-11-301-0/+2
|
* Add the meminfo collector.Heikki Kallasjoki2018-11-301-0/+2
|
* Switch to standard default port; add command-line argument.Heikki Kallasjoki2018-11-161-2/+6
|
* Initial prototype.Heikki Kallasjoki2018-08-051-0/+139