What is the recommended Scrape interval

62 views
Skip to first unread message

kiran

unread,
Sep 16, 2020, 11:05:30 PM9/16/20
to Prometheus Users
Hello all

I have seen many use 15s. Couple of questions:
1. What is the recommended scrape_interval to use?
2. Any issues using lower scrape_intervals like 1s or 5s?

Amari CH

unread,
Sep 16, 2020, 11:08:37 PM9/16/20
to promethe...@googlegroups.com
kiran wrote:
> 1. What is the recommended scrape_interval to use?
> 2. Any issues using lower scrape_intervals like 1s or 5s?

It depends by you. For me, I run the websites not that important, so I
setup interval to 1min. And I have seen many others setup it to 10s or
shorter. I don't think 1s is good choice, it may increase the overload
of Prometheus server.

Regards.

kiran

unread,
Sep 16, 2020, 11:14:26 PM9/16/20
to Amari CH, Prometheus Users
Can the scrape interval be set at job level?

--
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/3d9b303c-d9d0-b3a8-20e7-b11ae9997dab%40maddoghost.com.

Amari CH

unread,
Sep 16, 2020, 11:15:11 PM9/16/20
to promethe...@googlegroups.com
kiran wrote:
> Can the scrape interval be set at job level?

Sure you can. I have done with this.

Ben Kochie

unread,
Sep 17, 2020, 12:51:08 AM9/17/20
to kiran, Prometheus Users
In addition to the load on the Prometheus server, a scrape interval of 1s means the scrape timeout is 1s. So you need very reliable and fast networking, servers, and targets to make sure that the scrapes completely quickly enough.

--
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.
Reply all
Reply to author
Forward
0 new messages