{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/766","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/766/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/766/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/766/events","html_url":"https://github.com/hashicorp/consul/issues/766","id":60137414,"number":766,"title":"Namespaces for service registration","user":{"login":"stevendborrelli","id":414702,"avatar_url":"https://avatars.githubusercontent.com/u/414702?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendborrelli","html_url":"https://github.com/stevendborrelli","followers_url":"https://api.github.com/users/stevendborrelli/followers","following_url":"https://api.github.com/users/stevendborrelli/following{/other_user}","gists_url":"https://api.github.com/users/stevendborrelli/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendborrelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendborrelli/subscriptions","organizations_url":"https://api.github.com/users/stevendborrelli/orgs","repos_url":"https://api.github.com/users/stevendborrelli/repos","events_url":"https://api.github.com/users/stevendborrelli/events{/privacy}","received_events_url":"https://api.github.com/users/stevendborrelli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-06T18:09:43Z","updated_at":"2016-01-18T07:51:13Z","closed_at":null,"body":"The current behavior with service registration is to return every service that consul is aware of.\r\n\r\nThere are cases where we want to limit or group services together and only return those results. \r\n\r\nFor example, we may want to have a group of web applications being proxied via haproxy & consul template, or allow a development group to get responses only about a limited number of servers.\r\n\r\nDepending on naming/tagging seems like it would lead to problems. Just thinking of ideas on how to segregate service discovery. "},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/172454071","html_url":"https://github.com/hashicorp/consul/issues/766#issuecomment-172454071","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/766","id":172454071,"user":{"login":"raphink","id":650430,"avatar_url":"https://avatars.githubusercontent.com/u/650430?v=3","gravatar_id":"","url":"https://api.github.com/users/raphink","html_url":"https://github.com/raphink","followers_url":"https://api.github.com/users/raphink/followers","following_url":"https://api.github.com/users/raphink/following{/other_user}","gists_url":"https://api.github.com/users/raphink/gists{/gist_id}","starred_url":"https://api.github.com/users/raphink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphink/subscriptions","organizations_url":"https://api.github.com/users/raphink/orgs","repos_url":"https://api.github.com/users/raphink/repos","events_url":"https://api.github.com/users/raphink/events{/privacy}","received_events_url":"https://api.github.com/users/raphink/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T07:51:13Z","updated_at":"2016-01-18T07:51:13Z","body":"@armon I get the idea, but it doesn't allow to have multiple services with the same name on a given proxy."}}