I used Prometheus to measure business metrics like:
# HELP items_waiting_total Total number of items in a queue
# TYPE items_waiting_total gauge
items_waiting_total 149
I would like to keep this data for very long term (5 years retention) and I don't need high frequency in scrape_interval. So I set up scrape_interval: "900s"
.
When I check the graph in Prometheus with 60s resolution, it shows that flapping, but it is not true.
The question is, what is the maximum (recommended) scrape_interval in Prometheus?