{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul/issues/1850","repository_url":"https://api.github.com/repos/hashicorp/consul","labels_url":"https://api.github.com/repos/hashicorp/consul/issues/1850/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul/issues/1850/comments","events_url":"https://api.github.com/repos/hashicorp/consul/issues/1850/events","html_url":"https://github.com/hashicorp/consul/issues/1850","id":142020324,"number":1850,"title":"failing only for consul service watches","user":{"login":"ketzacoatl","id":10122937,"avatar_url":"https://avatars.githubusercontent.com/u/10122937?v=3","gravatar_id":"","url":"https://api.github.com/users/ketzacoatl","html_url":"https://github.com/ketzacoatl","followers_url":"https://api.github.com/users/ketzacoatl/followers","following_url":"https://api.github.com/users/ketzacoatl/following{/other_user}","gists_url":"https://api.github.com/users/ketzacoatl/gists{/gist_id}","starred_url":"https://api.github.com/users/ketzacoatl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketzacoatl/subscriptions","organizations_url":"https://api.github.com/users/ketzacoatl/orgs","repos_url":"https://api.github.com/users/ketzacoatl/repos","events_url":"https://api.github.com/users/ketzacoatl/events{/privacy}","received_events_url":"https://api.github.com/users/ketzacoatl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-19T02:43:37Z","updated_at":"2016-03-21T23:30:10Z","closed_at":null,"body":"If you wanted to run a handler any time a service goes into the critical state, but only those times (and not when the service is healthy).. is there a way to do this currently via consul configs? or is a \"failingonly\" needed as a complement to the \"passingonly\"?"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul/issues/comments/199535430","html_url":"https://github.com/hashicorp/consul/issues/1850#issuecomment-199535430","issue_url":"https://api.github.com/repos/hashicorp/consul/issues/1850","id":199535430,"user":{"login":"slackpad","id":673509,"avatar_url":"https://avatars.githubusercontent.com/u/673509?v=3","gravatar_id":"","url":"https://api.github.com/users/slackpad","html_url":"https://github.com/slackpad","followers_url":"https://api.github.com/users/slackpad/followers","following_url":"https://api.github.com/users/slackpad/following{/other_user}","gists_url":"https://api.github.com/users/slackpad/gists{/gist_id}","starred_url":"https://api.github.com/users/slackpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slackpad/subscriptions","organizations_url":"https://api.github.com/users/slackpad/orgs","repos_url":"https://api.github.com/users/slackpad/repos","events_url":"https://api.github.com/users/slackpad/events{/privacy}","received_events_url":"https://api.github.com/users/slackpad/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T23:30:10Z","updated_at":"2016-03-21T23:30:10Z","body":"Hi @ketzacoatl you are correct this currently isn't built-in. You'd have to look at all the edges and filter in your watch script, or we'd have to add some extra controls to the watch."}}