Right now for example Diplomat::Health.service allows the passing of a tag option to filter the results from Consul. But this only accepts a single string today. It would be nice to be able to pass this an array of strings so that you can pass multiple tags that are all required to exist on the registered service for it to be returned by Consul. Consul's API supports this through specifying the tag query parameter multiple times.
If others feel like this is worth while, I'd be more than happy to put together a PR for the enhancement.
Right now for example
Diplomat::Health.service
allows the passing of atag
option to filter the results from Consul. But this only accepts a single string today. It would be nice to be able to pass this an array of strings so that you can pass multiple tags that are all required to exist on the registered service for it to be returned by Consul. Consul's API supports this through specifying thetag
query parameter multiple times.If others feel like this is worth while, I'd be more than happy to put together a PR for the enhancement.