locust_influx icon indicating copy to clipboard operation
locust_influx copied to clipboard

Problems with locust 1.0.x

Open mglauche opened this issue 4 years ago • 2 comments

Hi,

with locust.io 1.0 somethings break, i managed to change the setup.py with: install_requires=[ 'locust>=1.0', 'influxdb>=5.2.2', ],

but loucst gives me: File "/home/ubuntu/locust/venv/lib/python3.6/site-packages/locust_influx-0.2.4-py3.6.egg/locust_influx/init.py", line 168, in expose_metrics TypeError: unsupported operand type(s) for +=: 'EventHook' and 'function'

Locust changed the event.py to "Eventook" from "EventHook()", which might explain the error, but why was that done?

mglauche avatar Jun 12 '20 11:06 mglauche