On 28.05.24 19:26, 'yuan xiao' via Prometheus Users wrote: > What are the impacts of modifying the scraping interval of Prometheus from > the default 1 minute to 30 seconds? For example, how should monitoring > metrics and storage be calculated? Will they become twice the original? > Provide the approximate calculation formulas and methods for Prometheus > storage space, monitoring metrics, and scraping intervals.
The answer is "it depends". The network traffic caused by the scrsape and the CPU usage for sending and receiving the scrape payload itself obviously doubles. However, the storage requirement might not increase by much, because very similar or very regularly changing samples compress very well. On the other hand, it might increase by a lot (almost twice as much) if the metric values are more or less randomly changing. In practice, you simply have to try it out. You can use Prometheus to monitor how the Prometheus resource usage changes. :o) -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] bjo...@rabenste.in -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/Zl8P1UwIk5w%2BkIqZ%40mail.rabenste.in.