AICoE / prometheus-anomaly-detector

A newer more updated version of the prometheus anomaly detector (https://github.com/AICoE/prometheus-anomaly-detector-legacy)
GNU General Public License v3.0
597 stars 151 forks source link

Fix the potential memory bloats #10

Closed 4n4nd closed 5 years ago

4n4nd commented 5 years ago

Fix #1 Now a env variable FLT_ROLLING_DATA_WINDOW_SIZE can be set to the duration of the time, for which the data will be stored in memory dataframes. By default, it will be FLT_ROLLING_DATA_WINDOW_SIZE=15d

This is supposed to prevent potential memory bloats when the data keeps adding to the dataframes