tiagocoutinho / multivisor

Centralized supervisor WebUI and CLI
GNU General Public License v3.0
184 stars 37 forks source link

Hide multivisor-rpc from list #77

Open wackazong opened 3 years ago

wackazong commented 3 years ago

I would like to not display the multivisor-rpc processes in the UI. How can I achieve that?

tiagocoutinho commented 3 years ago

So far this is not possible. You are not the first person to ask for this.

Since you are free to give the event listener a name of your choosing (the name "multivisor-rpc" is just a recommendation), mybe a regular expression filter in the multivisor configuration file would be the best thing. This would allow also to filter out any other processes that you might not want in the gui.

Example:

[global]
filter = "(.*)multivisor-rpc"

The (.*) prefix is necessary because the full process name is \<host>:\<group>:\<name>

Would that fit your needs?

wackazong commented 3 years ago

That sounds just perfect and a well suited general feature addition for a specific use case. Thanks.