Fabian Reinartz
75681b691a
Extract HTTP client from Target.
...
The HTTP client is the same across all targets with the same
scrape configuration. Thus, this commit moves it into the scrape
pool.
2016-03-01 14:31:57 +01:00
Fabian Reinartz
9bea27ae8a
Add scraping tests
2016-03-01 14:00:48 +01:00
Fabian Reinartz
775316f8d2
Move appender construction from Target to scrapePool
2016-03-01 13:50:51 +01:00
Fabian Reinartz
1a3253e8ed
Make scrape time unambigious.
...
This commit changes the scraper interface to accept a timestamp
so the reported timestamp by the caller and the timestamp
attached to samples does not differ.
2016-03-01 13:48:36 +01:00
Fabian Reinartz
2bb8ef99d1
Test scrape loop behavior.
2016-03-01 13:48:36 +01:00