You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using following packages:
locust==2.31.6
locust-plugins==4.5.3
locust-swarm==6.1.1
When starting swarm like this swarm -f <script_path> --loadgen-list <loadgen> --processes <process_count> --timescale ... I've noticed that worker nodes doesn't report data to timescale DB.
Re-initialize plugins after configuration is synced between master<>node. Unfortunately doing this requires much more locust's architecture knowledge that I posses.
The text was updated successfully, but these errors were encountered:
I'm not actively maintaining this repo any more - I'm actually working with Locust Cloud now. It kind of solves Locust distribution and reporting, but as-a-Service...
If you can make a very focused PR that solves this I can merge it but that's about all the time I have...
I'm using following packages:
locust==2.31.6
locust-plugins==4.5.3
locust-swarm==6.1.1
When starting swarm like this
swarm -f <script_path> --loadgen-list <loadgen> --processes <process_count> --timescale ...
I've noticed that worker nodes doesn't report data to timescale DB.As far as I understand this happens because timescale plugin enabled in this handler https://github.com/SvenskaSpel/locust-plugins/blob/4.5.3/locust_plugins/__init__.py#L164, called when init event fired (from here https://github.com/locustio/locust/blob/2.31.6/locust/main.py#L525) and at this point --timescale parameter is not passed yet to worker node. Actual configuration copied from master to worker node at receiving spawn event happening here (https://github.com/locustio/locust/blob/2.31.6/locust/main.py#L616-L627).
Unfortunately plugins are not re-initialized after worker's configuration has updated so timescale plugin is not enabled.
I've seen two possible solutions here:
The text was updated successfully, but these errors were encountered: