Skip to content

Commit 87e6e10

Browse files
marunmaru-ava
andauthored
[testing] Ensure run_prometheus.sh uses a writeable storage path (#3662)
Co-authored-by: Maru Newby <maru.newby@avalabs.org>
1 parent 3d23528 commit 87e6e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_prometheus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ echo "Wrote configuration to ${CONFIG_PATH}"
115115

116116
echo "Starting prometheus..."
117117
cd "${PROMETHEUS_WORKING_DIR}"
118-
nohup "${CMD}" --config.file=prometheus.yaml --web.listen-address=localhost:0 --enable-feature=agent > prometheus.log 2>&1 &
118+
nohup "${CMD}" --config.file=prometheus.yaml --storage.agent.path=./data --web.listen-address=localhost:0 --enable-feature=agent > prometheus.log 2>&1 &
119119
echo $! > "${PIDFILE}"
120120
echo "prometheus started with pid $(cat "${PIDFILE}")"
121121
# shellcheck disable=SC2016

0 commit comments

Comments
 (0)