mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
a1ba23038e
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. |
||
---|---|---|
.. | ||
format | ||
instrumentation.go | ||
interface_test.go | ||
scheduler.go | ||
scheduler_test.go | ||
target.go | ||
target_test.go | ||
targetmanager.go | ||
targetmanager_test.go | ||
targetpool.go | ||
targetpool_test.go | ||
test_helper.go |