Skip to content

Commit

Permalink
data: reduce retention from 180 to 30 days
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
leograba committed Sep 6, 2024
1 parent 8a300d4 commit 1e014b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataAcquisition/get-build-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1e014b7

Please sign in to comment.