Consul - Search by key
A useful enhancement would be allowing a search on key for key / value pairs. It could also be implemented and combined with other search functionality into an omnibox.
Yes, really wanted to do this for a while now :)
I actually want to have this as well, so I can use it for linking the health tick marks to the actual service :)
Proposal: add /consul/:datacenter/services/:service/key/:value Example:
- /consul/global/services/my-service/tags/sometag
- /consul/global/services/my-service/ServicePort/1234
If value starts with ~, match is used, else == is used
Notice that we can use the key ServiceID to match for specific allocations.
For KV: /consul/:datacenter/kv/*/:key will return any key in the tree that matches the name
Are there any plans to support search in KV store?