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 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.
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 Distribution
Built Distribution
Hashes for locust_influx-0.2.4a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a82bc8b24e972177e374475904e180378301e64d521cfc7f4459ff771813a429 |
|
MD5 | 96751edb020666a797809d725618b0c3 |
|
BLAKE2b-256 | 3e165800a210c1d9f6fd264b1acbce1493d2f4ec4bdc25f12c37ca5664778fcb |