Skip to content

Commit

Permalink
feat: enable prober logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-soubeyrand authored Apr 24, 2024
1 parent bcbe512 commit 09e3b8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ envsubst < config_web.yml > /etc/blackbox_exporter/config_web.yml

if [[ -z "${APP_LOG_LEVEL}" ]]; then
LOG_LEVEL="info"
LOG_PROBER="info"
else
LOG_LEVEL="${APP_LOG_LEVEL}"
LOG_PROBER="${APP_LOG_LEVEL}"
fi

/bin/blackbox_exporter --log.level=${LOG_LEVEL} --config.file=/etc/blackbox_exporter/config.yml --web.config.file=/etc/blackbox_exporter/config_web.yml
/bin/blackbox_exporter --log.level=${LOG_LEVEL} --log.prober=${LOG_PROBER} --config.file=/etc/blackbox_exporter/config.yml --web.config.file=/etc/blackbox_exporter/config_web.yml

0 comments on commit 09e3b8d

Please sign in to comment.