Note that it currently only works with InfluxDB 1.x
since it is based on InfluxDB-Python
, not influxdb-client-python
.
- Python
>= 3.8
- Poetry for package management
- At first, build the local environment with
poetry install
- Then, run the program with
poetry run python3 -m influxbenchmarker <SERVER_NAME> <SERVER_PORT> <USERNAME> <PASSWORD> <DATABASE>
Feel free to contribute, please open a issue first.
See here
Again, first build the local environment with
poetry install
Next, you can run the local CI pipeline with
poetry run flake8 --count --statistics --max-line-length=120 influxbenchmarker