Blocks are two hours long, but that means the *current* block can be anywhere between 1s and 2h long.
/MR On Tue, Apr 7, 2020 at 11:43 AM Omar Abdulaziz <[email protected]> wrote: > 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? > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/3d3faaff-deeb-471c-9874-779b91276155%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/3d3faaff-deeb-471c-9874-779b91276155%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gaERf0Y9jtHkmg1VgZnLk0bTq7_pqzyiwC7Kwx-R8YDvg%40mail.gmail.com.

