Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Dec 7, 2021
1 parent 4e3b368 commit 5abac58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locust_plugins/timescale/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Follow the link and you will find your fresh (empty) main Locust dashboard, used
You can now run a locust test like this:

```
~ locust --timescale --headless
~ locust --timescale --headless -f locustfile_that_imports_locust_plugins.py
[2021-12-06 14:44:18,415] myhost/INFO/root: Follow test run here: http://localhost:3000/d/qjIIww4Zz?var-testplan=locustfile.py&from=1638798258415&to=now
...
KeyboardInterrupt
Expand All @@ -41,7 +41,7 @@ KeyboardInterrupt

If you hadn't already guessed it from the output, `locust-compose` is just a thin wrapper around `docker-compose`. When you are finished testing, just press CTRL-C or run `locust-compose down`

Both timescale data and any grafana dashboard edits are persisted as docker volumes even if you shut it down. To remove the data run `locust-compose rm`.
Both timescale data and any grafana dashboard edits are persisted as docker volumes even if you shut it down. To remove the data volumes run `locust-compose down -v`.

For security reasons, the ports for logging to Timescale and accessing Grafana only accessible on localhost. If you want them to be reachable from the outside (e.g. to run a distributed test with workers running on a different machine), edit the docker-compose.yml file.

Expand Down

0 comments on commit 5abac58

Please sign in to comment.