mirror of https://github.com/prometheus/prometheus
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.pull/139/head
parent
f817106d6a
commit
a1ba23038e
Loading…
Reference in new issue