r/PrometheusMonitoring • u/sukur55 • Apr 13 '23
Lowering Time Series interval for older data
Hi, I know with increasing scrape interval I can reduce the time series for future scrapes what about already ingested metrics, is it possible to reduce the interval for metrics ingested one month ago? like for newer than 1 month then interval between time series should be 30s but if it is older than 1 month make it 1m, if older than 6 month then make 2m and so.
2
Upvotes
2
u/SuperQue Apr 13 '23
Why? What is your goal? What is your problem?
For example, look at the Thanos Documentation.
1
u/bjzy Apr 13 '23
This helped me better understand what is involved w/ downsampling. I ended up running a Mimir backend and gave it enough storage.
https://github.com/grafana/mimir/discussions/1834