Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: replace scripts by samples on docker-run examples #17

Merged
merged 1 commit into from
Dec 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ Clone the repo to get get started and follow these steps:

3. Use the k6 Docker image to run the k6 script and send metrics to the InfluxDB container started on the previous step. You must [set the `testid` tag](https://k6.io/docs/using-k6/tags-and-groups/#test-wide-tags) with a unique identifier to segment the metrics into discrete test runs for the Grafana dashboards.
```shell
docker-compose run --rm k6 run -<scripts/http_2.js --tag testid=<SOME-ID>
docker-compose run --rm k6 run -<samples/http_2.js --tag testid=<SOME-ID>
```
For convenience, the `docker-run.sh` can be used to simply:
```shell
./docker-run.sh scripts/http_2.js
./docker-run.sh samples/http_2.js
```

4. Visit http://localhost:3000/ to view results in Grafana.
Expand Down