diff --git a/.circleci/config.yml b/.circleci/config.yml index 0d541db..1ad19ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: command: | cat \<< EOF > prometheus.yml global: - scrape_interval: 1s + scrape_interval: 10s scrape_configs: - job_name: pushprox proxy_url: http://127.0.0.1:8080 diff --git a/end-to-end-test.sh b/end-to-end-test.sh index 3ceb681..50841db 100755 --- a/end-to-end-test.sh +++ b/end-to-end-test.sh @@ -29,7 +29,7 @@ while ! curl -s -f -L http://localhost:8080/clients; do sleep 2 done -./pushprox-client --log.level=debug --proxy-url=http://localhost:8080 & +./pushprox-client --log.level=debug --proxy-url=http://localhost:8080 --fqdn $(hostname) & echo $! > "${tmpdir}/client.pid" while [ "$(curl -s -L 'http://localhost:8080/clients' | jq 'length')" != '1' ] ; do echo 'Waiting for client'