Dionera / laravel-beanstalkd-admin-ui

An Admin UI for Beanstalkd and Laravel
MIT License
204 stars 51 forks source link

Multiple Beanstalk Hosts #4

Open teamhoodin opened 7 years ago

teamhoodin commented 7 years ago

Hello, and thanks for the nice package!

We're running a slightly bigger project with a centralised admin system and 3 different Beanstalk hosts. Is there a way to use the admin ui for all 3 of these within the admin system we have, ie for it to talk to 3 hosts simultaneously?

Also, is there (going to be) a way to view/delete the contents of an entire tube?

Thanks!

ksassnowski commented 7 years ago

Right now the project only supports a single host (https://github.com/Dionera/laravel-beanstalkd-admin-ui/blob/master/src/BeanstalkdUIServiceProvider.php#L21). Talking to all three hosts simultaneously could be a bit difficult to achieve (as in, having the stats for all hosts on a single dashboard). However, I think that adding another menu item to select from the configured hosts and only displaying the stats for that host shouldn't be too hard. I don't know when I will be able to get to it, so pull requests are always welcome :)

Here's roughly what would have to change: