locust-influx 0.2.4

Creator: bradpython12

Last updated:

Add to Cart

Description:

locustinflux 0.2.4

locust_influx
Send information about locust requests
to InfluxDB
and follow the progress through Grafana charts.
Test and taste it locally
Start an InfluxDB container locally:
docker run -d --name influxdb -d -p 8086:8086 influxdb
Start a Grafana container locally:
docker run -d --name grafana -d -p 3000:3000 grafana/grafana
Crete a new python virtual environment and install locust_influx:
pip install locust_influx
Run the example locustfile contained in this repo (Change the host to point to desired one):
locust -f ./locustfile.py --no-web --clients 10 --hatch-rate 1 --run-time 60s --host http://localhost:8080
Open your local Grafana in the browser at http://localhost:3000/
Import the example dashboard from locust_dashboard.json file.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.