Skip to content

Commit

Permalink
start-all.sh add evaluation-interval command line option
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonh committed Mar 19, 2023
1 parent 61a5002 commit 886e504
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions start-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,10 @@ for arg; do
LIMIT="1"
PARAM="1"
;;
(--evaluation-interval)
LIMIT="1"
PARAM="evaluation-interval"
;;
(--archive)
PROMETHEUS_COMMAND_LINE_OPTIONS_ARRAY+=(--storage.tsdb.retention.time=100y)
;;
Expand All @@ -240,6 +244,9 @@ for arg; do
DOCKER_PARAMS[$DOCR]="${DOCKER_PARAMS[$DOCR]} $VALUE"
PARAMS="$PARAMS --param $NOSPACE"
unset PARAM
elif [ "$PARAM" = "evaluation-interval" ]; then
PROMETHEUS_TARGETS="$PROMETHEUS_TARGETS -E $NOSPACE"
unset PARAM
else
if [ -z "${DOCKER_LIMITS[$DOCR]}" ]; then
DOCKER_LIMITS[$DOCR]=""
Expand Down

0 comments on commit 886e504

Please sign in to comment.