about summary refs log tree commit diff
path: root/scrape.h
Commit message (Collapse)AuthorAgeFilesLines
* support binding to a specific host addressLeah Neukirchen2024-07-101-2/+2
|
* add --stdoutLeah Neukirchen2024-06-071-0/+3
|
* Move the collector loop into scrape server code.Heikki Kallasjoki2018-12-231-4/+9
| | | | | | 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 a simple test harness and tests for the cpu collector.Heikki Kallasjoki2018-12-121-0/+2
|
* Use a struct type for metric labels.Heikki Kallasjoki2018-12-071-5/+13
| | | | | | 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
|
* Remove prometheus- prefix from project name.Heikki Kallasjoki2018-11-301-3/+3
|
* Split the scrape setup and serving to separate functions.Heikki Kallasjoki2018-11-301-2/+11
| | | | 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.
* Initial prototype.Heikki Kallasjoki2018-08-051-0/+35