prometheus/retrieval
Julius Volz a1ba23038e Fix scrape timestamps to reduce sample time jitter.
We're currently timestamping samples with the time at the end of a scrape
iteration. It makes more sense to use a timestamp from the beginning of the
scrape for two reasons:

a) this time is more relevant to the scraped values than the time at the
   end of the HTTP-GET + JSON decoding work.
b) it reduces sample timestamp jitter if we measure at the beginning, and
   not at the completion of a scrape.
2013-04-13 03:45:37 +02:00
..
format Fix scrape timestamps to reduce sample time jitter. 2013-04-13 03:45:37 +02:00
instrumentation.go Duration statistics for each target pool. 2013-01-28 16:36:28 +01:00
interface_test.go `TargetManager and TargetPool` ass pointers. 2013-01-15 17:06:17 +01:00
scheduler.go Swap `time.Now with testable Time.Now`. 2013-01-27 19:59:20 +01:00
scheduler_test.go Swap `time.Now with testable Time.Now`. 2013-01-27 19:59:20 +01:00
target.go Fix scrape timestamps to reduce sample time jitter. 2013-04-13 03:45:37 +02:00
target_test.go Fix target health state update. 2013-02-25 02:52:52 +01:00
targetmanager.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
targetmanager_test.go Convert addresses pointing to localhost in status. 2013-04-12 15:14:04 +02:00
targetpool.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
targetpool_test.go Allow replacing job targets via HTTP API. 2013-02-28 21:33:29 +01:00
test_helper.go Fix target health state update. 2013-02-25 02:52:52 +01:00