myzhan / locust4j

Locust4j is a load generator for locust, written in Java.
MIT License
81 stars 30 forks source link

Checking Master Status #13

Closed therussiankid92 closed 4 years ago

therussiankid92 commented 4 years ago

Hi there,

Good job on the library! I'm trying to understand if you currently have any exposed way that you are checking that:

Cheers!

myzhan commented 4 years ago

Sorry, currently there is not way to check the connnection status. Maybe it is better to add an entry at master. You can check this out https://github.com/myzhan/boomer/blob/master/prometheus_exporter.py

therussiankid92 commented 4 years ago

Thanks! Do you mean to add the configuration in the .py file?

myzhan commented 4 years ago

You need to write some code in a .py file to expose the internal status of the master. Then you can start a locust master with the .py file.