Report locust metrics to influxdb.
Project description
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
Start a Grafana container locally:
docker run -d --name grafana -d -p 3000:3000
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for locust_influx-0.1.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02c41290c043a6faaa64fb54bb7046f01ce40ffa70cf7b8994aaf9518b6b8903 |
|
MD5 | 22899158041e5238368cb630192e0186 |
|
BLAKE2b-256 | 550ad1c66b430af5cef552c5966388744ef8c3f57d17281f911f5d9c1768fcc6 |