As you said its only 2 metrics that need to be scraped every 1s and I have
total of 7 metrics
But I do not know If we can configure metric scrape interval metric wise.

I presume 7 is ideal to be scrapped at 1s interval right ?

On Fri, Mar 4, 2022 at 1:42 AM Brian Candler <[email protected]> wrote:

> On Friday, 4 March 2022 at 01:15:26 UTC [email protected] wrote:
>
>> What is the lowest scrape time in Prometheus ?
>> Can I set it at 0s or 1s ?
>>
>>
> I scrape time of 0s makes no sense at all.  It means you want to do an
> infinite number of scrapes per second, which means you have infinite
> amounts of CPU and disk storage.
>
> A scrape time of 1s might be achievable for a very small set of metrics
> being scraped.  However if you think you need 1s scrape times, then
> prometheus is *probably* the wrong solution for whatever you're trying to
> do.  As I said before: for event logging, use an event logging system
> instead.
>
> --
> 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/953b8b98-0d08-44a8-9755-1a39dac7d009n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/953b8b98-0d08-44a8-9755-1a39dac7d009n%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/CAOBTUyXLt%2BtJDP0yucvQgxjHWmkG-2NoXU4OxG5QOt%2B6mtLRrg%40mail.gmail.com.

Reply via email to