Locust load testing framework with Prometheus exporter from ContainerSolutions/locust_exporter
docker run -it \
-p 8089:8089 -p 9646:9646 \
-v /your/locustfile/location:/mnt/locust \
-e LOCUSTFILE_PATH=/mnt/locust/locustfile.py \
-e TARGET_URL='https://foobar.com' \
lstama/locust:latest
Add .env file in the /your/locustfile/location folder if you want to add some custom environment variables.
localhost:8089 is the Locust Web UI address and localhost:9646/metrics is the Prometheus metrics endpoint.
For more environment variable settings, visit Locust documentation and locust exporter readme.
Content type
Image
Digest
Size
49.4 MB
Last updated
over 6 years ago
docker pull lstama/locust