Skip to content

Commit

Permalink
change localhost to host.docker.internal
Browse files Browse the repository at this point in the history
  • Loading branch information
kentzeng12 committed Oct 22, 2024
1 parent fc8e967 commit 4790b1e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/comparator/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export DASHBOARD=$GRAFANA_PATH/dash.json.out
export END=${END:-$(date +%s)}
export START=${START:-$(( $END - 10800 ))}
# TODO: make this a bit less hacky in the future; e.g. take from config.
export COMPARATOR_WRITE="localhost:9001"
export COMPARATOR_WRITE="host.docker.internal:9001"

function generate_dash {
TEMPLATE=$GRAFANA_PATH/dashboard.tmpl
Expand Down Expand Up @@ -73,8 +73,7 @@ $comparator -input=$QUERY_FILE \
-s=$START \
-e=$END \
-comparator=$COMPARATOR_WRITE \
-regressionDir=$REGRESSION_DIR \
-prometheusURL=http://prometheus:9090
-regressionDir=$REGRESSION_DIR

## Run PromQL testdata tests
#go test -v -timeout 300s -tags=compatibility -count=1 github.com/m3db/m3/src/query/test/compatibility/

0 comments on commit 4790b1e

Please sign in to comment.