Error on ingesting samples that are too old

156 views
Skip to first unread message

Omar Abdulaziz

unread,
Apr 7, 2020, 7:43:15 AM4/7/20
to Prometheus Users
When prometheus scrape metric with timestamp more than 1hour ago I get Error on ingesting samples that are too old or are too far into the future. E.g:
metric_name{dimension="dimension_1"}    1011516    11:15:00 (UTC+2)
and now its 12:32:00 (UTC+2)
Why am getting the above Error although its written in the documentation:Ingested samples are grouped into blocks of two hours not 1hour?

Matthias Rampke

unread,
Apr 7, 2020, 11:42:07 AM4/7/20
to Omar Abdulaziz, Prometheus Users
Blocks are two hours long, but that means the current block can be anywhere between 1s and 2h long.

/MR

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3d3faaff-deeb-471c-9874-779b91276155%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages