Skip to main content

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.

Locust dashboard in grafana

Release files for locust-influx 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for locust-influx 0.2.4
File Size Uploaded
locust_influx-0.2.4.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for locust-influx 0.2.4
File Interpreter ABI Platform
locust_influx-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / locust_influx-0.2.4.tar.gz

Download URL locust_influx-0.2.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fe1b33c078a47feb4898191de5b2fcaa83facaa4ad3963205c531b78e469bc54
BLAKE2b-256 checksum
How to use checksums
1ae19a600243a05830e0f6e30826d7bd800ca9e31035e012d8283b884902c1ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Release files / locust_influx-0.2.4-py3-none-any.whl

Download URL locust_influx-0.2.4-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
015051a5adc82e7023019cdae49653034fe20440f5a80bccfcd587985c6e0015
BLAKE2b-256 checksum
How to use checksums
cbf3371035f67449cac2a970c77694355829f210ed4cbb68f316413745ca6d5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.1

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page