From 1e014b79be52bec17a069ca58c9075d5181b6fd1 Mon Sep 17 00:00:00 2001 From: Leonardo Graboski Veiga Date: Fri, 6 Sep 2024 17:41:20 -0300 Subject: [PATCH] data: reduce retention from 180 to 30 days It was found out in practice that InfluxDB is quite memory-hungry, therefore reducing the data retention keeps it at bay. There may be a better way to reduce memory usage, but for the moment this satisfies the application requirement. Signed-off-by: Leonardo Graboski Veiga --- dataAcquisition/get-build-status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataAcquisition/get-build-status.sh b/dataAcquisition/get-build-status.sh index 4f99354..3244c7f 100755 --- a/dataAcquisition/get-build-status.sh +++ b/dataAcquisition/get-build-status.sh @@ -22,7 +22,7 @@ IMAGE_TYPE=( ) INFLUX_MEASUREMENT_NAME="jenkinsbuild" INFLUX_BUCKET_NAME="jenkinsdatabucket" -INFLUX_BUCKET_RETENTION="180d" +INFLUX_BUCKET_RETENTION="30d" CURL_MAX_RETRIES=30 declare -A log_levels=([DEBUG]=0 [INFO]=1 [WARN]=2 [ERROR]=3) script_logging_level="INFO"